{"id":"CVE-2025-55740","aliases":["CVE-2025-55740","GHSA-pr72-8fxw-xx22","GO-2025-3896"],"related":[],"kind":"vulnerability","state":"published","title":"Default Credentials in nginx-defender Configuration Files","summary":"nginx-defender is a high-performance, enterprise-grade Web Application Firewall (WAF) and threat detection system engineered for modern web infrastructure. This is a configuration vulnerability affecting nginx-defender deployments. Example configuration files\nconfig.yaml and 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. The issue is addressed in v1.5.0 and later.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"nginx-defender is a high-performance, enterprise-grade Web Application Firewall (WAF) and threat detection system engineered for modern web infrastructure. This is a configuration vulnerability affecting nginx-defender deployments. Example configuration files\nconfig.yaml and 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. The issue is addressed in v1.5.0 and later.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"en","text":"Default Credentials in nginx-defender Configuration Files in github.com/Anipaleja/nginx-defender","format":"markdown","source":"go"},{"lang":"es","text":"nginx-defender es un firewall de aplicaciones web (WAF) de alto rendimiento y nivel empresarial, y un sistema de detección de amenazas diseñado para infraestructuras web modernas. Esta vulnerabilidad de configuración afecta las implementaciones de nginx-defender. Los archivos de configuración de ejemplo config.yaml y docker-compose.yml contienen credenciales predeterminadas (default_password: \"change_me_please\", GF_SECURITY_ADMIN_PASSWORD=admin123). Si los usuarios implementan nginx-defender sin cambiar estas credenciales predeterminadas, los atacantes con acceso a la red podrían obtener control administrativo, evadiendo las protecciones de seguridad. El problema se soluciona en la versión 1.5.0 y posteriores.","source":"nvd"}],"published":"2025-08-19T19:52:25.777Z","modified":"2026-06-17T09:42:08.887Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-1392"],"affected":[{"ranges":[{"version":"< 1.5.0","status":"affected"}],"vendor":"Anipaleja","product":"nginx-defender","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.5.0"}],"ecosystem":"Go","package":"github.com/Anipaleja/nginx-defender","purl":"pkg:golang/github.com/Anipaleja/nginx-defender","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.5.0"}],"ecosystem":"Go","package":"github.com/Anipaleja/nginx-defender","purl":"pkg:golang/github.com/Anipaleja/nginx-defender","source":"go"}],"references":[{"url":"https://github.com/Anipaleja/nginx-defender/security/advisories/GHSA-pr72-8fxw-xx22","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55740","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/Anipaleja/nginx-defender","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3896","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-08-19T20:05:26.655Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-55740","url":"https://www.cve.org/CVERecord?id=CVE-2025-55740","licence":"CVE Terms of Use","modified":"2025-08-19T20:05:46.786Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pr72-8fxw-xx22","url":"https://github.com/advisories/GHSA-pr72-8fxw-xx22","licence":"CC-BY-4.0","modified":"2025-08-29T20:37:35.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3896","url":"https://pkg.go.dev/vuln/GO-2025-3896","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:50.658Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-55740","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55740","licence":"Public domain","modified":"2026-06-17T09:42:08.887Z"}],"updatedAt":"2026-11-25T22:59:03.334Z","epss":{"score":0.00289,"percentile":0.23048,"date":"2026-12-01T12:00:22.000Z"}}