{"id":"CVE-2026-45631","state":"PUBLISHED","title":"Dokploy: Pre-Auth Admin Takeover via Hardcoded Authentication Secret","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.","publishedAt":"2026-05-29T16:13:59.525Z","updatedAt":"2026-06-01T15:23:23.234Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["Dokploy dokploy"],"affected":[{"vendor":"Dokploy","product":"dokploy","versions":[{"version":">= 0.27.0, < 0.29.3","status":"affected"}]}],"references":["https://github.com/Dokploy/dokploy/security/advisories/GHSA-w3gm-rc4p-9rhj","https://github.com/Dokploy/dokploy/pull/4374"],"weaknesses":["CWE-798"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45631.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45631","state":"PUBLISHED","datePublished":"2026-05-29T16:13:59.525Z","dateUpdated":"2026-06-01T15:23:23.234Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-12T20:31:43.450Z"},"containers":{"cna":{"title":"Dokploy: Pre-Auth Admin Takeover via Hardcoded Authentication Secret","descriptions":[{"lang":"en","value":"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":[{"vendor":"Dokploy","product":"dokploy","versions":[{"version":">= 0.27.0, < 0.29.3","status":"affected"}]}],"references":[{"url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-w3gm-rc4p-9rhj","name":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-w3gm-rc4p-9rhj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Dokploy/dokploy/pull/4374","name":"https://github.com/Dokploy/dokploy/pull/4374","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-798","lang":"en","description":"CWE-798: Use of Hard-coded Credentials","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-29T16:13:59.525Z"},"source":{"advisory":"GHSA-w3gm-rc4p-9rhj","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-w3gm-rc4p-9rhj","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-01T15:23:14.546659Z","id":"CVE-2026-45631","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-01T15:23:23.234Z"}}]}}}