CVE-2026-45406 Dokku: Host RCE via Maliciously Named OpenResty Include Files Injected Through eval
HighCVSS 8.8
EPSS 0.53%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Docker
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| dokku | < 0.38.2; = < 0.38.2 | 0.38.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dokku | = < 0.38.2 | No fix listed |
| dokku | < 0.38.2 | 0.38.2 |
References
- https://github.com/dokku/dokku/security/advisories/GHSA-ggqh-98fj-8mg9 vendor-advisory
- https://github.com/dokku/dokku/pull/8588 issue-tracking patch