CVE-2026-45631: Dokploy: Pre-Auth Admin Takeover via Hardcoded Authentication Secret
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.
Security readout for executives and security teams
Plain-English summary
Dokploy versions 0.27.0 through before 0.29.3 can let an unauthenticated attacker become an administrator because the product used a hardcoded authentication secret fallback. Admin access can lead to command execution on the host through Dokploy’s built-in SSH terminal. The source bundle says version 0.29.3 fixes the issue.
Executive priority
Treat this as an immediate patch priority for any exposed Dokploy instance. The business risk is administrator takeover of a deployment platform and potential host compromise. Prioritize internet-facing systems first, then complete fleet-wide version validation.
Technical view
The issue is CWE-798 in Dokploy’s BETTER_AUTH_SECRET fallback. A known fallback secret allowed forged email verification JWTs and auto-sign-in as admin, crossing from unauthenticated network access to full administrative control and host command execution. Affected versions are >=0.27.0 and <0.29.3. CVSS is 10.0, scope changed, no privileges or user interaction required.
Likely exposure
Exposure is likely for internet-accessible Dokploy installations running versions 0.27.0 to before 0.29.3, especially where the admin interface is reachable from untrusted networks. The bundle does not list CPEs or deployment prevalence.
Exploitation context
The bundle does not show CISA KEV listing or cited evidence of active exploitation. However, the described flaw is pre-authentication, network-reachable, low complexity, and can result in administrator takeover and host command execution, so exposed systems should be treated as urgent.
Researcher notes
Evidence is strong for affected versions, root cause, impact, and fixed release based on the provided CVE, GitHub advisory, and pull request references. Public exploitation status is not established in the bundle; do not claim active exploitation without additional cited evidence.
Mitigation direction
Upgrade Dokploy to version 0.29.3 or later.
Check Dokploy vendor guidance for any required secret or session rotation.
Restrict untrusted network access to Dokploy while remediation is underway.
Review admin access and host activity after patching.
Validation and detection
Inventory all Dokploy deployments and record running versions.
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.
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.
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
3Timeline events
1ADP providers
3Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total
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.
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.