Dokku: Host RCE via Maliciously Named OpenResty Include Files Injected Through eval
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-95.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA dokku (dokku) Fixed in 0.38.2
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45406
References
More Dokku vulnerabilities
- TI-2026-39465 Dokku: OS Command Injection via app.json managed Cron CVSS 3.1CRITICAL 9.9
- TI-2026-33197 Dokku: OS Command Injection via App Name in Git Pre-Receive Hook CVSS 3.1CRITICAL 9.0
- TI-2026-33194 Dokku: Arbitrary File Write via Tar Symlink Traversal in git:from-archive and certs:add CVSS 3.1CRITICAL 9.0
- TI-2026-33196 Dokku: Git Credentials in .netrc Stored World-Readable Due to Premature touch CVSS 3.1MEDIUM 5.5
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences