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.
Published: 2026-01-28
Score: 8 High
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized database access through hardcoded credentials
Action: Immediate Patch
AI Analysis

Impact

Dokploy versions prior to 0.26.6 include a hardcoded password in the installation script, meaning that during deployment almost all instances use the same database credentials. This flaw allows an attacker who can influence the installation process or obtain the installation script to learn valid database credentials and potentially read, modify, or delete data stored in the database. The vulnerability is classified as CWE‑798, a use of hard‑coded credentials, and has a CVSS score of 8, signifying a high impact if exploited.

Affected Systems

The affected vendor is Dokploy, and the product is Dokploy itself. Any instance running a build before version 0.26.6 deploys the vulnerable script. Version 0.26.6 and later contain a patch that removes the hard‑coded password.

Risk and Exploitability

The CVSS score of 8 indicates that an attacker who can exploit this flaw would face significant risk. However, the EPSS score of less than 1% suggests that exploitation attempts are rare, and at this time the vulnerability has not been listed in the CISA KEV catalog. The most likely attack vector is local or administrative, where an attacker can modify or replace the installation script, or compromise a system during the initial deployment. Once the credentials are known, an attacker can gain full access to the database, compromising confidentiality, integrity, and availability of any data managed by Dokploy.

Generated by OpenCVE AI on April 18, 2026 at 01:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Dokploy 0.26.6 or a newer version where the hardcoded credential has been removed.
  • If upgrading is not immediately possible, edit the install.sh script to replace the hardcoded password with a unique, random password before the database container is created.
  • After deployment, change the database password to a strong, non‑predictable value, revoke any default credentials, and enforce a password rotation policy.

Generated by OpenCVE AI on April 18, 2026 at 01:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 04 Feb 2026 18:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:dokploy:dokploy:*:*:*:*:*:*:*:*

Wed, 28 Jan 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 28 Jan 2026 12:30:00 +0000

Type Values Removed Values Added
First Time appeared Dokploy
Dokploy dokploy
Vendors & Products Dokploy
Dokploy dokploy

Wed, 28 Jan 2026 00:30:00 +0000

Type Values Removed Values Added
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.
Title Dokploy uses hardcoded credentials in installation script, which could result in database access
Weaknesses CWE-798
References
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-01-28T15:01:06.280Z

Reserved: 2026-01-27T14:51:03.059Z

Link: CVE-2026-24840

cve-icon Vulnrichment

Updated: 2026-01-28T15:01:01.224Z

cve-icon NVD

Status : Analyzed

Published: 2026-01-28T01:16:14.647

Modified: 2026-02-04T17:55:14.130

Link: CVE-2026-24840

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T02:00:10Z

Weaknesses