{"id":"CVE-2026-45631","summary":"Dokploy: Pre-Auth Admin Takeover via Hardcoded Authentication Secret","details":"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.","aliases":["GHSA-w3gm-rc4p-9rhj"],"modified":"2026-08-12T03:51:21.709693397Z","published":"2026-05-29T16:13:59.525Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-798"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45631.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45631.json"},{"type":"ADVISORY","url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-w3gm-rc4p-9rhj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45631"},{"type":"FIX","url":"https://github.com/Dokploy/dokploy/pull/4374"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dokploy/dokploy","events":[{"introduced":"17da1d5b3ca4e32f6e380dc2997f914de9874260"},{"fixed":"62aeed5aedd757e75cf3da8ae49fb96e328d8d0d"}],"database_specific":{"extracted_events":[{"introduced":"0.27.0"},{"fixed":"0.29.3"},{"introduced":"0"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v0.29.2","v0.29.1","v0.29.0","v0.28.8","v0.28.7","v0.28.6","v0.28.5","v0.28.4","v0.28.3","v0.28.2","v0.28.1","v0.28.0","v0.27.1","v0.27.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45631.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}