What’s Vulnerable › Vulnerabilities
CVE-2026-45406: Dokku: Host RCE via Maliciously Named OpenResty Include Files Injected Through eval
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-26 · updated 2026-06-26
- Weakness: CWE-95
Description
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.
Affected products
- dokku: before 0.38.2 — fixed in 0.38.2
How to fix
Upgrade to a fixed version: dokku 0.38.2. Check the vendor advisory for mitigations.
References
- https://github.com/dokku/dokku/pull/8588
- https://github.com/dokku/dokku/security/advisories/GHSA-ggqh-98fj-8mg9
Get alerted when CVE-2026-45406 or the next vulnerability affects your stack