Skip to main content

Dokploy EUVDEUVD-2026-33355

| CVE-2026-45631 CRITICAL
Use of Hard-coded Credentials (CWE-798)
2026-05-29 GitHub_M
10.0
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover exposed Dokploy instance
  2. Delivery
    Forge email-verification JWT with hardcoded secret
  3. Exploit
    Submit token to trigger auto-sign-in as admin
  4. Execution
    Open built-in browser SSH terminal
  5. Persist
    Execute arbitrary commands on host
  6. Impact
    Pivot to deployed apps and persist

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Credential externalization
MITRE ATT&CK

2 techniques across 2 tactics: Persistence, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Required: network reachability to a Dokploy 0.27.0-0.29.2 web interface where the operator did NOT override the default BETTER_AUTH_SECRET environment variable (the hardcoded fallback 'better-auth-secret-123456789' must be active). No authentication, no user interaction, and no special privileges are needed (CVSS AV:N/AC:L/PR:N/UI:N). Exploitation limits: instances that explicitly set a strong BETTER_AUTH_SECRET at deployment are not exploitable via this JWT-forgery path; deployments behind VPN/IP allowlists limit the attacker pool to those with network reachability; the built-in SSH terminal feature must be enabled (it is by default) to escalate from admin session to host command execution.

Impact

All available signals point to maximum priority. The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H scores 10.0 (Critical) with a changed scope reflecting that compromise of the application yields control of the underlying host. Exploitation is automatable - discovering vulnerable instances via Shodan/HTTP fingerprinting plus a small forge-and-replay script is trivial because the secret is a static, source-leaked string. EPSS and CISA KEV data were not provided in the input, so real-world exploitation telemetry is unknown; however, KEV status is moot given the trivial nature and the CVSS-rated criticality. No public exploit is identified at time of analysis, but the GitHub Security Advisory (GHSA-w3gm-rc4p-9rhj) publicly describes the root cause, meaning skilled attackers can reproduce it from the advisory alone. Note: the linked PR #4374 diff supplied as 'source code evidence' shows only Zod branch-name regex formatting changes and does not appear to contain the BETTER_AUTH_SECRET fix - the actual secret-handling fix likely lives in a different commit referenced by GHSA-w3gm-rc4p-9rhj.

Exploit ScenarioDerived

An attacker scans the internet for exposed Dokploy login pages, identifies a target running 0.27.0-0.29.2, and uses the publicly known 'better-auth-secret-123456789' to sign a forged email-verification JWT for a chosen email address. Submitting the forged token to Dokploy's verification endpoint triggers the auto-sign-in flow as an admin, after which the attacker opens the built-in browser-based SSH terminal and executes arbitrary shell commands on the host - pivoting into deployed containers, stealing application secrets, and persisting via cron or SSH key implantation.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 29, 2026

Remote code execution in Dokploy 0.27.0 through 0.29.2 allows unauthenticated attackers to forge email-verification JWTs using a hardcoded BETTER_AUTH_SECRET fallback ('better-auth-secret-123456789'), auto-sign-in as admin, and run arbitrary commands on the host through the built-in SSH terminal. The flaw carries a CVSS 10.0 score with network attack vector and no required privileges, and while no public exploit is identified at time of analysis, the trivially guessable secret makes weaponization straightforward.

RemediationAI

Upgrade immediately to Dokploy 0.29.3 or later, which is the vendor-released patch per the GitHub Security Advisory GHSA-w3gm-rc4p-9rhj (https://github.com/Dokploy/dokploy/security/advisories/GHSA-w3gm-rc4p-9rhj). As a pre-upgrade workaround, set a strong, randomly generated BETTER_AUTH_SECRET environment variable (e.g., 'openssl rand -base64 48') and restart Dokploy - this breaks the hardcoded-fallback code path and invalidates any tokens an attacker may have already forged (existing legitimate sessions will also need to re-authenticate). If patching is not immediately possible, additionally restrict the Dokploy web UI to a VPN or trusted IP allowlist via a reverse proxy or host firewall, since the attack requires network reachability to the auth endpoint; note this still leaves any user who can reach the UI (including internal attackers) able to exploit. After patching, rotate the BETTER_AUTH_SECRET, force-invalidate all existing sessions, audit the admin user list and SSH terminal command history for unauthorized activity, and rotate any credentials/SSH keys stored within Dokploy.

Affected VersionsENISA

dokploy 0.27.0, < 0.29.3

Affected Packages

euvd dokploy_0_27_0 fix: 0.29.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Dokploy is a self-hostable Platform-as-a-Service (PaaS) similar to Heroku/Vercel that uses the better-auth authentication library for session and email-verification token management. better-auth signs JWTs (including the email verification token consumed during sign-up/sign-in flows) with the BETTER_AUTH_SECRET environment variable; when operators failed to set this variable, Dokploy fell back to the literal string 'better-auth-secret-123456789' baked into the source. This is a textbook CWE-798 (Use of Hard-coded Credentials) issue: because the secret is public knowledge in the source tree, any attacker can mint valid signed tokens. Combined with Dokploy's built-in browser SSH terminal - a feature intentionally exposed to authenticated admins for managing the host running the PaaS - token forgery escalates directly to host command execution.

Know when Dokploy gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 10.0 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
May 29, 2026 - 19:01 EUVD

DescriptionCVE.org

Dokploy is a free, self-hostable Platform as a Service (PaaS). From 0.27.0 to before 0.29.3, a hardcoded BETTER_AUTH_SECRET fallback ("better-auth-secret-123456789") lets an unauthenticated attacker forge email verification JWTs, trigger auto-sign-in as admin, and execute commands on the host via the built-in SSH terminal. This vulnerability is fixed in 0.29.3.

Executive ViewAI

Why It Matters

Dokploy versions 0.27.0-0.29.2 expose a critical authentication bypass allowing any unauthenticated attacker to execute arbitrary commands on production hosts. Organizations running affected versions face immediate risk of complete infrastructure compromise with no required credentials or technical sophistication, as the vulnerability relies on a trivially guessable hardcoded secret. Affected customers must act within 24 hours to prevent unauthorized access and potential data loss or system destruction.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict Dokploy management console to trusted internal networks via firewall; disable or block the SSH terminal API endpoint at the application or network level if business operations permit; rotate all administrative credentials and API keys immediately; implement runtime monitoring and alerting on SSH terminal endpoint access and authentication failures; review and restrict account creation permissions; maintain detailed audit logs of all Dokploy activities; consider offline backup isolation for critical application configurations.

Threat Intelligence Overview

EPSS Score
0.1%
Top 79% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-72867 CRITICAL POC
9.9 Aug 10

Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us

CVE-2026-24841 CRITICAL POC
9.9 Jan 28

Dokploy self-hosted PaaS prior to 0.26.6 has a critical command injection vulnerability (CVSS 9.9) allowing authenticate

CVE-2026-24840 HIGH POC
8.0 Jan 28

Dokploy versions before 0.26.6 contain hardcoded database credentials in the installation script, causing nearly all dep

CVE-2026-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

CVE-2026-129989 CRITICAL
9.9 Nov 18

Authenticated users with create permission on an application in Dokploy versions prior to 0.31.1 can execute arbitrary c

CVE-2026-129986 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets a low-privileged member with file-mount create and delete

CVE-2026-129991 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets an organization member holding backup permission on a sing

CVE-2026-129316 CRITICAL
9.9 Nov 18

Authenticated Dokploy organization members can break out of their tenant boundary and reach root on the Docker host: the

CVE-2026-72901 CRITICAL
9.9 Aug 10

Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated low-privilege member run arbitrary

CVE-2026-72735 CRITICAL
9.9 Aug 10

Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated panel user run arbitrary commands o

CVE-2026-72902 CRITICAL
9.9 Aug 10

Command injection in Dokploy (self-hostable PaaS) before 0.29.13 lets an authenticated user run arbitrary OS commands on

CVE-2026-72740 CRITICAL
9.9 Aug 10

OS command injection in Dokploy self-hosted PaaS before 0.29.13 lets an authenticated member with service-deployment per

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy