Quick answers
- Is CVE-2026-45631 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-45631 being exploited in the wild.
- How severe is CVE-2026-45631?
- Critical severity, with a CVSS score of 10, published 29 May 2026.
- Which products and versions are affected?
- Dokploy 0.27.0 to 0.29.2.
- Is there a fix for CVE-2026-45631?
- A patch was published on 2026-05-09: Fix merged into canary branch via Pull Request 4374 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-45631 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2026-45631?
- Check whether you run Dokploy at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
Dokploy (versions 0.27.0 to 0.29.2) contains a hardcoded fallback value for the 'BETTER_AUTH_SECRET' environment variable in its server constants. Because the default installation script does not generate a unique secret, many self-hosted instances use the default string 'better-auth-secret-123456789'. An unauthenticated attacker can exploit this by forging HS256-signed JSON Web Tokens (JWTs) for the '/api/auth/verify-email' endpoint. Successful verification triggers an automatic administrative session creation due to the 'autoSignInAfterVerification' configuration. This grants the attacker full admin access, which includes the ability to execute commands on the host via the integrated SSH terminal. The issue is resolved in version 0.29.3 by removing the hardcoded fallback and implementing unique secret generation during setup.
Affected products
- Dokploy Dokploy 0.27.0 to 0.29.2
Timeline
- 2026-05-09: patched: Fix merged into canary branch via Pull Request 4374
- 2026-05-11: advisory: GitHub Security Advisory GHSA-w3gm-rc4p-9rhj published
- 2026-05-29: disclosed: CVE-2026-45631 published to NVD