Description
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.
Published: 2026-05-29
Score: 10 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Dokploy, a self‑hosted platform as a service, contains a flaw that lets an unauthenticated attacker forge email verification JWTs using a hardcoded secret, automatically sign in as an admin, and execute arbitrary commands on the host via the built‑in SSH terminal. This provides full administrative control, allowing the attacker to modify, delete, or exfiltrate data and compromise the underlying infrastructure. The vulnerability is a case of insecure default credentials (CWE‑798) and carries a CVSS score of 10.

Affected Systems

The affected products are Dokploy Dokploy version 0.27.0 through 0.29.2. The issue is fixed starting with 0.29.3; earlier releases remain vulnerable.

Risk and Exploitability

The CVSS score of 10 and lack of an EPSS rating indicate a high‑severity flaw with potentially low known exploitation, but the vulnerability is listed as not in the CISA KEV catalog. Attackers can exploit the flaw by sending a forged JWT to the web interface, which is likely reachable over the network; no special setup beyond the application exposure is required. Remediation is critical to prevent full administrative takeover and remote command execution.

Generated by OpenCVE AI on May 29, 2026 at 18:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Dokploy 0.29.3 or later.
  • Set the environment variable BETTER_AUTH_SECRET to a strong, unique value to override the hardcoded default.
  • Disable or restrict the built‑in SSH terminal feature until the patch is applied, or limit its access to trusted networks.

Generated by OpenCVE AI on May 29, 2026 at 18:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 29 May 2026 19:45:00 +0000

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

Fri, 29 May 2026 17:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Dokploy: Pre-Auth Admin Takeover via Hardcoded Authentication Secret
Weaknesses CWE-798
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-29T16:13:59.525Z

Reserved: 2026-05-12T20:31:43.450Z

Link: CVE-2026-45631

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-05-29T18:17:11.243

Modified: 2026-05-29T20:25:00.760

Link: CVE-2026-45631

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-29T19:30:05Z

Weaknesses