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.
Severity (CVSS)
| Base score | 9 |
|---|---|
| Severity | Critical |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-95 — CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| dokku | dokku | < 0.38.2 |
References
- https://github.com/dokku/dokku/security/advisories/GHSA-ggqh-98fj-8mg9 (x_refsource_CONFIRM)
- https://github.com/dokku/dokku/pull/8588 (x_refsource_MISC)
Generated from the official CVE List on 27 Jun 2026 07:02 UTC.