CVE-2026-45631 Details
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.
A vulnerability in Dokploy versions 0.27.0 through 0.28.8 allows unauthenticated attackers to exploit a hardcoded fallback for the BETTER_AUTH_SECRET. This secret enables the forging of email verification JSON Web Tokens (JWTs), which can be used to trigger automatic sign-ins as an admin. Once signed in, the attacker can execute commands on the host through the built-in SSH terminal. The vulnerability arises because the hardcoded secret is shared across all default self-hosted instances, and the email verification process does not require a database lookup, allowing for unauthorized admin access.
Users can upgrade to Dokploy version 0.29.3 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 29, 2026CISA-ADP
Assessed Jun 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Dokploy/dokploy/security/advisories/GHSA-w3gm-rc4p-9rhj | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/Dokploy/dokploy/pull/4374 | [email protected] | Source CodeVendor |
| https://github.com/Dokploy/dokploy/security/advisories/GHSA-w3gm-rc4p-9rhj | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-798 | Use of Hard-coded Credentials | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Dokploy | >= 0.27.0, <= 0.28.8 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 1, 2026 | CVE Modified | CISA-ADP |
| May 29, 2026 | New CVE Received | [email protected] |
Volerion