CVE-2026-24840 Dokploy uses hardcoded credentials in installation script, which could result in database access

High 8.0 Published Updated

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.

Sources

Also known as GHSA-jr65-3j3w-gjmc.

Is CVE-2026-24840 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free