LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Dokploy installations before 0.26.6 may have created their database container with a shared hardcoded password from the official installer. If an attacker can reach the database path and has the required access context, they may gain database access, risking data loss, tampering, or service disruption.

Executive priority

Prioritize remediation for any production Dokploy environment. The issue can affect database confidentiality, integrity, and availability, and many installations may share the same credential pattern. Upgrade promptly and confirm whether existing database credentials need rotation.

Technical view

CVE-2026-24840 is a CWE-798 hardcoded credential issue in Dokploy’s install.sh. Versions before 0.26.6 used a hardcoded database password when creating the database container. The CVSS 3.1 score is 8.0, with high confidentiality, integrity, and availability impact. Version 0.26.6 includes the patch.

Likely exposure

Self-hosted Dokploy deployments installed with the affected installer before version 0.26.6 are the primary concern. Exposure depends on whether the database container or related network path is reachable by an attacker. The sources do not confirm internet-wide exposure.

Exploitation context

The CVSS vector indicates adjacent-network access, low privileges, low complexity, and no user interaction. The source bundle does not report active exploitation, and KEV status is false. Treat shared credentials as a serious post-installation exposure, especially where network segmentation is weak.

Researcher notes

Evidence is centered on the GitHub advisory and patch commit. The bundle names the installer line and affected versions but does not provide confirmed exploitation, broad exposure measurements, or complete post-upgrade credential-rotation details. Validate with the vendor advisory before assuming upgrade alone remediates existing credentials.

Mitigation direction

  • Upgrade Dokploy to version 0.26.6 or later.
  • Review Dokploy’s advisory and release guidance for credential-rotation instructions.
  • Restrict database/container network access to only required trusted services.
  • Audit existing deployments installed with the pre-0.26.6 installer.

Validation and detection

  • Confirm the running Dokploy version is 0.26.6 or later.
  • Identify installations created using the affected install.sh before the patch.
  • Verify database credentials are not the hardcoded installer-created values.
  • Check whether database services are reachable from untrusted networks.
  • Review logs for unexpected database access or authentication activity.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-798: Credential and account abuse lookup

Authentication and credential weaknesses can make valid-account abuse and credential telemetry useful review starting points. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Container behavior lookup

The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-24840 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8CVSS 3.1HighCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H2.15.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8High
CVSS 3.1 vector shape for CVE-2026-24840Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Dokploydokploy< 0.26.6Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-798 · source CWE mapping

Use of Hard-coded Credentials

Use of Hard-coded Credentials represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.