{"id":"CVE-2026-86002","published":"2026-10-14T16:17:54.470","lastModified":"2026-10-16T16:00:33.533","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.","cvssScore":9,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","cwes":["CWE-95"],"vendors":[],"products":[],"references":[{"url":"https://github.com/dokku/dokku/commit/1a376c362215a5c7044a08b3e3905b1a5fddc821","tags":[]},{"url":"https://github.com/dokku/dokku/pull/8848","tags":[]},{"url":"https://github.com/dokku/dokku/releases/tag/v0.38.25","tags":[]},{"url":"https://github.com/dokku/dokku/security/advisories/GHSA-fccf-j7qf-2xp9","tags":[]}],"exploitRefs":[{"url":"https://github.com/dokku/dokku/commit/1a376c362215a5c7044a08b3e3905b1a5fddc821","tags":[]},{"url":"https://github.com/dokku/dokku/pull/8848","tags":[]},{"url":"https://github.com/dokku/dokku/releases/tag/v0.38.25","tags":[]},{"url":"https://github.com/dokku/dokku/security/advisories/GHSA-fccf-j7qf-2xp9","tags":[]}],"hasPoc":true,"ai":{"summary":"Dokku allows users with app-level access and SSH privileges to store arbitrary strings through the docker-options plugin that get processed by Bash eval during build/deploy/run operations, enabling remote code execution as the dokku user. This is a critical privilege escalation vulnerability.","exploitability":"Moderately difficult to exploit requiring both app-level access and SSH access to execute docker-options commands, with the attacker needing to craft shell command substitutions that will be evaluated by Bash during container operations.","blast_radius":"High impact across all applications deployed on the Dokku instance, as any exploited application could allow attackers to execute arbitrary commands with the dokku user privileges, potentially leading to full system compromise.","remediation":"Upgrade to Dokku version 0.38.25 or later to fix the shell injection vulnerability in the docker-options plugin.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","privilege-escalation","docker","shell-injection"],"model":"garnet-coder","analyzedAt":"2026-10-16T08:51:53.361Z"}}