10.0critical
Dokploy: Pre-Auth Admin Takeover via Hardcoded Authentication Secret
- Severity
- 10.0critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.45% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Dokploy dokploy | >= 0.27.0, < 0.29.3 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
Dokploy es una Plataforma como Servicio (PaaS) gratuita y autoalojable. Desde la 0.27.0 hasta antes de la 0.29.3, un valor de reserva (fallback) de BETTER_AUTH_SECRET codificado de forma rígida ('better-auth-secret-123456789') permite a un atacante no autenticado falsificar JWTs de verificación de correo electrónico, activar el inicio de sesión automático como administrador y ejecutar comandos en el host a través de la terminal SSH integrada. Esta vulnerabilidad se corrige en la 0.29.3.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45631 changed 2026-06-01 | CVE Terms of Use |
| NVD | CVE-2026-45631 changed 2026-10-06 | Public domain |