CVE-2026-45406
9.0critical
Dokku: Host RCE via Maliciously Named OpenResty Include Files Injected Through eval
- Severity
- 9.0critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.53% (higher than 38% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| dokku dokku | < 0.38.2, before 0.38.2 | CVE List, NVD |
All scores
| GitHub_M | 9.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://github.com/dokku/dokku/security/advisories/GHSA-ggqh-98fj-8mg9 | vendor-advisory | |
| https://github.com/dokku/dokku/pull/8588 | issue-tracking, patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45406 changed 2026-06-26 | CVE Terms of Use |
| NVD | CVE-2026-45406 changed 2026-06-26 | Public domain |