CVE-2026-24840 Dokploy uses hardcoded credentials in installation script, which could result in database access
Attackers can access databases in nearly all installations due to hardcoded credentials in the installation script, requiring an upgrade to Dokploy.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-24840?
CVE-2026-24840 is a high-severity vulnerability in dokploy, published on 28 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Dokploy is a free, self-hostable Platform as a Service (PaaS). In versions prior to 0.26.6, a hardcoded credential in the provided installation script (located at https://dokploy.com/install.sh, line 154) uses a hardcoded password when creating the database container. This means that nearly all Dokploy installations use the same database credentials and could be compromised. Version 0.26.6 contains a patch for the issue.
Weakness: CWE-798
Which versions are affected by CVE-2026-24840?
It affects 1 product.
Products include Dokploy Dokploy.
How do I fix CVE-2026-24840?
No fix has been published for CVE-2026-24840 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-24840 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-24840 exists.
Other vulnerabilities in dokploy
- CVE-2026-24841 Command injection in dokploy
- CVE-2025-53825 Dokploy's Preview Deployments are vulnerable to Remote Code Execution
- CVE-2025-53376 Dokploy allows attackers to run arbitrary OS commands on the Dokploy host.
- CVE-2025-53375 Dokploy allows attackers to read any file that the Traefik process user can access
- CVE-2026-24839 Dokploy has a clickjacking vulnerability - Missing X-Frame-Options and CSP frame-ancestors headers
Sources
Also known as GHSA-jr65-3j3w-gjmc.