CVE-2025-55740: Github.com/Anipaleja/nginx defender Default Credentials Vulnerability
MODERATECVE-2025-55740 is a MODERATE (CVSS 6.5) default credentials vulnerability (CWE-1392: Use of Default Credentials) affecting Github.com/Anipaleja/nginx defender libraries in the Go ecosystem. The issue involves default credentials in nginx-defender configuration files. Remediation is available by upgrading affected packages to version 1.5.0.
CVE-2025-55740 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2025-55740
To remediate this vulnerability, upgrade all affected Github.com/Anipaleja/nginx defender dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/Anipaleja/nginx-defender to 1.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/Anipaleja/nginx-defender
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-55740, inspect your project dependencies for Github.com/Anipaleja/nginx defender:
inspect dependencies for github.com/Anipaleja/nginx-defender
Analyze the terminal output to locate any version of Github.com/Anipaleja/nginx defender in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1392: Use of Default Credentials, where the product uses default credentials (such as passwords or cryptographic keys) for potentially critical functionality. In Github.com/Anipaleja/nginx defender, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-55740 Affected Github.com/Anipaleja/nginx defender Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/Anipaleja/nginx-defender
|
Go |
< 1.5.0
|
1.5.0
|
References
Frequently Asked Questions
What is CVE-2025-55740?
Which Github.com/Anipaleja/nginx defender versions are affected?
What version fixes CVE-2025-55740?
Is github.com/Anipaleja/nginx-defender affected?
What is the CVSS score of CVE-2025-55740?
What CWE is associated with CVE-2025-55740?
How can I check Go dependencies for CVE-2025-55740?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pr72-8fxw-xx22",
"modified" : "2025-08-29T20:37:35Z",
"published" : "2025-08-19T22:24:40Z",
"aliases" : [ "CVE-2025-55740" ],
"summary" : "Default Credentials in nginx-defender Configuration Files",
"details" : "### Impact\nThis is a configuration vulnerability affecting nginx-defender deployments. Example configuration files \n[config.yaml](https://github.com/Anipaleja/nginx-defender/blob/main/config.yaml), [docker-compose.yml](https://github.com/Anipaleja/nginx-defender/blob/main/docker-compose.yml) contain default credentials (`default_password: \"change_me_please\"`, `GF_SECURITY_ADMIN_PASSWORD=admin123`). If users deploy nginx-defender without changing these defaults, attackers with network access could gain administrative control, bypassing security protections.\n\n**Who is impacted?**\nAll users who deploy nginx-defender with default credentials and expose the admin interface to untrusted networks.\n\n### Patches\nThe issue is addressed in v1.5.0 and later.\n\nStartup warnings are added if default credentials are detected.\nDocumentation now strongly recommends changing all default passwords before deployment.\nPatched versions:\n1.5.0 and later\n**Will be fully patched in v1.7.0 and later**\n\n### Workarounds\nUsers can remediate the vulnerability without upgrading by manually changing all default credentials in configuration files before deployment:\n```yaml\n# config.yaml\nauth:\n default_password: \"your_strong_password_here\"\n```\n\n```yml\n# docker-compose.yml\n- GF_SECURITY_ADMIN_PASSWORD=your_strong_password\n```\nRestrict access to the admin interface and use environment variables for secrets.\n\n### References\n- [Security Configuration Guide](https://github.com/Anipaleja/nginx-defender/blob/main/docs/security-config.md)\n- [Full Security Advisory](https://github.com/Anipaleja/nginx-defender/security/advisories)\n- [Library README](https://github.com/Anipaleja/nginx-defender/blob/main/lib/README.md)\n- [README](https://github.com/Anipaleja/nginx-defender/blob/main/README.md)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/Anipaleja/nginx-defender"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Anipaleja/nginx-defender/security/advisories/GHSA-pr72-8fxw-xx22"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-55740"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Anipaleja/nginx-defender"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2025-3896"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1392" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-08-19T22:24:40Z",
"nvd_published_at" : "2025-08-19T20:15:35Z"
}
}