# CVE-2026-45406: Dokku: Host RCE via Maliciously Named OpenResty Include Files Injected Through eval

- Severity: Critical 9.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 38% of CVEs (2026-11-30)
- Published: 2026-06-26T16:22:17.290Z
- Modified: 2026-06-26T19:16:40.230Z
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- dokku dokku: < 0.38.2; before 0.38.2

## Every score

- GitHub_M: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## 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

- CVE List: [CVE-2026-45406](https://www.cve.org/CVERecord?id=CVE-2026-45406), CVE Terms of Use, modified 2026-06-26
- NVD: [CVE-2026-45406](https://nvd.nist.gov/vuln/detail/CVE-2026-45406), Public domain, modified 2026-06-26

---

Page: https://cve.day/CVE-2026-45406 · Whole record: https://cve.day/CVE-2026-45406.json · Rebuilt by cve.day 2026-11-25T22:59:26.500Z
