# CVE-2026-45631: Dokploy: Pre-Auth Admin Takeover via Hardcoded Authentication Secret

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-29T16:13:59.525Z
- Modified: 2026-10-06T22:10:00.247Z
- Weaknesses: CWE-798
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Dokploy dokploy: >= 0.27.0, < 0.29.3

## References

- <https://github.com/Dokploy/dokploy/security/advisories/GHSA-w3gm-rc4p-9rhj> (exploit)
- <https://github.com/Dokploy/dokploy/pull/4374>

## Sources

- CVE List: [CVE-2026-45631](https://www.cve.org/CVERecord?id=CVE-2026-45631), CVE Terms of Use, modified 2026-06-01
- NVD: [CVE-2026-45631](https://nvd.nist.gov/vuln/detail/CVE-2026-45631), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-45631 · Whole record: https://cve.day/CVE-2026-45631.json · Rebuilt by cve.day 2026-11-25T22:59:23.344Z
