LiveActive security incident?Get immediate response
CVE Record

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.

CriticalCVSS 10Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

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.
  • Confirm no deployment runs >=0.27.0 and <0.29.3.
  • Verify authentication secret configuration follows vendor guidance.
  • Review logs for unexpected admin sign-ins or terminal activity.
  • Confirm patched systems remain reachable only through intended access paths.
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
cve · low confidence lookup

CVE-2026-45631 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
Critical
CVSS
10 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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
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.

ScoreVersionSeverityVectorExploitImpactSource
10CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H3.96GitHub_M

Vulnerability scoring details

Base CVSS 3.1 score

10Critical
CVSS 3.1 vector shape for CVE-2026-45631Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Dokploydokploy>= 0.27.0, < 0.29.3Listed
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.