RCE in Dokku
CVE-2026-45406
Dokku is a docker-powered PaaS. Prior to 0.38.2, the openresty-vhosts plugin copies files from an app's openresty/http-includes/ git repository directory to the host and then interpolates their filenames, unescaped, into a single-quoted shell string that is later parsed by eval. A filename containing a single quote breaks the quoting and allows command substitution to execute arbitrary commands on the host as the dokku user during the app's next deploy. This vulnerability is fixed in 0.38.2.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.005 (42.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 42nd percentile — 42.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Dokku — versions < 0.38.2
Weakness classification (CWE)
References
- github.com/dokku/dokku/security/advisories/GHSA-ggqh-98fj-8mg9 (Vendor Advisory)
- github.com/dokku/dokku/pull/8588 (Patch, Issue Tracking)
Frequently asked questions
- What is CVE-2026-45406?
- CVE-2026-45406 is a critical-severity vulnerability in Dokku, classified under Eval Injection. CVSS score: 9.0/10. Published 2026-06-26.
- How severe is CVE-2026-45406?
- Critical severity. CVSS v3 base score is 9.0 out of 10.