CVE-2026-86002: Dokku command injection via docker-options eval

CVE-2026-86002 · Severity: critical · CVSS 9 · Published 2026-10-14

Dokku is a Docker-based platform-as-a-service tool that allows developers to deploy applications. A user with app-level access can inject shell commands through the docker-options plugin; when these options are processed during build, deploy, or run operations, arbitrary commands execute with the privileges of the dokku system user, potentially compromising the host and all deployed applications.

Technologies: Dokku. Vendors: Dokku.

Quick answers

Is CVE-2026-86002 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-86002 being exploited in the wild.
How severe is CVE-2026-86002?
Critical severity, with a CVSS score of 9, published 14 October 2026.
Which products and versions are affected?
Dokku before 0.38.25.
Is there a fix for CVE-2026-86002?
Yes: fixed in 0.38.25. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-86002 attacked?
It is attacked over the network, in a hosted service.
Am I affected by CVE-2026-86002?
Check whether you run Dokku at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 0.38.25

Technical details

The vulnerability is a command injection flaw in the docker-options plugin where unsanitized user input is concatenated into DOCKER_ARGS and processed through Bash eval during build, deploy, and run operations. An attacker with app-level Dokku access and remote SSH access can store arbitrary strings containing shell metacharacters (command substitution, variable expansion) that are interpreted on the host as the dokku user. The fix tokenizes arguments and passes them verbatim to the container without shell expansion.

Affected products

  • Dokku Dokku before 0.38.25

Timeline

  • 2026-10-14: disclosed
  • 2026-07-19: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.