CVE-2026-86002

Dokku: Host Command Execution via eval of Unsanitized Docker Options in DOCKER_ARGS

Published Oct 14, 2026 CVSS 3.1 · 9 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Dokku versions older than 0.38.25 permit a user with app‑level Dokku access and SSH connectivity to store arbitrary strings via the docker‑options plugin. These strings are later concatenated into the DOCKER_ARGS environment variable and evaluated by Bash during build, deploy, or run operations. Because Bash interprets shell command substitutions in DOCKER_ARGS, an attacker can inject commands that run on the host with the privileges of the dokku operating‑system user, enabling arbitrary host‑side command execution.

Affected Systems

This vulnerability impacts the Dokku platform as a service on any deployment running a Dokku version earlier than 0.38.25. It applies to all users who have application‑level Dokku permissions and remote SSH access to the host, as they can exploit the docker‑options feature to inject payloads.

Risk and Exploitability

The CVSS base score of 9 indicates a very high severity. The vulnerability is not listed in the CISA KEV catalog, and the EPSS score is < 1%, indicating a very low exploitation probability. The likely attack vector requires the attacker to already possess SSH access to the Dokku host and to use the docker‑options plugin, meaning untrusted users with elevated Dokku permissions can potentially trigger host‑side command execution. Given the high CVSS and the use of Bash eval, the risk remains significant in environments that allow unauthenticated or low‑privilege users to influence docker‑options values.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official patch by upgrading to Dokku 0.38.25 or newer
  • Restrict app‑level Dokku permissions so that only trusted administrators can invoke the docker‑options plugin
  • If an immediate upgrade is not possible, disable or remove the docker‑options plugin and block the ability to store arbitrary options from untrusted sources

Generated by OpenCVE AI on October 15, 2026 at 18:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Dokku
Dokku dokku
Vendors & Products Dokku
Dokku dokku
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Dokku: Host Command Execution via eval of Unsanitized Docker Options in DOCKER_ARGS
Weaknesses CWE-95
References
Metrics cvssV3_1

{'score': 9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-95

    Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 14, 2026, 5:45 PM
Reserved
Sep 4, 2026, 7:17 PM
Status
Awaiting Analysis
Published
Oct 14, 2026, 4:17 PM
Modified
Oct 16, 2026, 4:00 PM