Eval injection in Dokku docker-options lets users run host commands
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 versions before 0.38.25 are affected. Shell command substitutions in values stored through the docker-options plugin are later evaluated by Bash eval during build, deploy, or run operations, a flaw classified as CWE-95. A user with app-level Dokku access and remote SSH access to docker-options commands can run arbitrary commands on the host with the privileges of the dokku operating-system user.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
Dokku is a docker-powered platform as a service. In Dokku versions before 0.38.25, a user with app-level Dokku access and remote SSH access to execute docker-options commands can store arbitrary strings through the docker-options plugin, and those strings are later concatenated into DOCKER_ARGS and processed by Bash eval during build, deploy, or run operations. Shell command substitutions in the stored values are interpreted on the host, allowing arbitrary command execution with the privileges of the dokku operating-system user. This issue is fixed in version 0.38.25.
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
Upgrade Dokku to version 0.38.25, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
- Fix · CNA dokku (dokku) Fixed in 0.38.25
Timeline
- 2026-10-14 Threatist record created from CVE-2026-86002
- 2026-10-15 CISA SSVC decision points changed
- 2026-10-15 Priority changed: MEDIUM → LOW
- 2026-10-16 Priority changed: LOW → MEDIUM
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-33195 Dokku: Host RCE via Maliciously Named OpenResty Include Files Injected Through eval 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