---
id: CVE-2026-45631
title: 'Dokploy is a free, self-hostable Platform as a Service (PaaS)'
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…
severity: critical
cvss: 10
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-798
published: '2026-05-29'
updated: '2026-07-22'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-45631'
references:
  - url: 'https://github.com/Dokploy/dokploy/pull/4374'
    label: security-advisories@github.com
  - url: 'https://github.com/Dokploy/dokploy/security/advisories/GHSA-w3gm-rc4p-9rhj'
    label: security-advisories@github.com
  - url: 'https://github.com/Dokploy/dokploy/security/advisories/GHSA-w3gm-rc4p-9rhj'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00683
epssPercentile: 0.50462
ingestedAt: '2026-07-22T20:06:05.044Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
