Dokploy: Pre-Auth Admin Takeover via Hardcoded Authentication Secret
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-45631
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 06:06 UTC · Revision 1
Source evidence
Dokploy: Pre-Auth Admin Takeover via Hardcoded Authentication Secret
core-osv · Original sourcePublished 29 May 2026, 16:13 UTC
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.
osv:CVE-2026-45631
Complete source record
{
"id": "8ed85a27f7bead2d11c5bebcb681fbaa32811b467908f57b625ea6a51186c531",
"url": "https://osv.dev/vulnerability/CVE-2026-45631",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Dokploy: Pre-Auth Admin Takeover via Hardcoded Authentication Secret",
"summary": "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.",
"evidence": "osv:CVE-2026-45631",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-45631",
"aliases": [
"CVE-2026-45631",
"GHSA-w3gm-rc4p-9rhj"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/dokploy/dokploy",
"type": "GIT",
"events": [
{
"introduced": "17da1d5b3ca4e32f6e380dc2997f914de9874260"
},
{
"fixed": "62aeed5aedd757e75cf3da8ae49fb96e328d8d0d"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.27.0"
},
{
"fixed": "0.29.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.29.3"
}
],
"source": "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"
}
}
],
"modified": "2026-10-28T02:30:26.232777703Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45631.json",
"https://github.com/Dokploy/dokploy/security/advisories/GHSA-w3gm-rc4p-9rhj",
"https://nvd.nist.gov/vuln/detail/CVE-2026-45631",
"https://github.com/Dokploy/dokploy/pull/4374"
],
"provider_metadata": {
"cwe_ids": [
"CWE-798"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45631.json"
}
},
"related_cves": [
{
"value": "CVE-2026-45631",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492930,
"published_at": "2026-05-29T16:13:59.525+00:00"
}