CVE-2025-55740: Default Credentials in nginx-defender Configuration Files
Impact This is a configuration vulnerability affecting nginx-defender deployments. Example configuration files config.yaml, docker-compose.yml contain default credentials (defaultpassword: "changemeplease", GFSECURITYADMINPASSWORD=admin123). If users deploy nginx-defender without changing these defaults, attackers with network access could gain administrative control, bypassing security protections.
Published Aug 19, 2025 · Updated Aug 29, 2025
Affected packages
github.com/Anipaleja/nginx-defender
- Ecosystem
- Go
- Affected
- < 1.5.0
- Fixed in
- 1.5.0
- Check
go list -m github.com/Anipaleja/nginx-defender
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
This is a configuration vulnerability affecting nginx-defender deployments. Example configuration files config.yaml, 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.
Who is impacted? All users who deploy nginx-defender with default credentials and expose the admin interface to untrusted networks.
Patches
The issue is addressed in v1.5.0 and later.
Startup warnings are added if default credentials are detected. Documentation now strongly recommends changing all default passwords before deployment. Patched versions: 1.5.0 and later Will be fully patched in v1.7.0 and later
Workarounds
Users can remediate the vulnerability without upgrading by manually changing all default credentials in configuration files before deployment:
# config.yaml
auth:
default_password: "your_strong_password_here"# docker-compose.yml
- GF_SECURITY_ADMIN_PASSWORD=your_strong_passwordRestrict access to the admin interface and use environment variables for secrets.
References
Credited to Anipaleja.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
