CVE-2026-45631 PUBLISHED

Dokploy: Pre-Auth Admin Takeover via Hardcoded Authentication Secret

Assigner: GitHub_M
Reserved: 12.05.2026 Published: 29.05.2026 Updated: 29.05.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 10

Product Status

Vendor Dokploy
Product dokploy
Versions
  • Version >= 0.27.0, < 0.29.3 is affected

References

Problem Types

  • CWE-798: Use of Hard-coded Credentials CWE