Database/Container, Kubernetes & orchestration
Dokku: stored docker-options values reach bash eval, giving command execution as the dokku user
Impact
Values stored through the docker-options plugin are concatenated into DOCKER_ARGS and later evaluated by bash during build, deploy or run, so shell command substitutions inside them execute on the host. Any user with app-level Dokku access and SSH reach to run docker-options escalates from "can configure one app" to arbitrary commands as the dokku OS user - which owns every app on the box, its container configuration and its deploy credentials. For an operator this is a tenancy boundary failure on a shared PaaS host rather than a container escape in the runtime itself.
Who can reach it
Authenticated - needs app-level Dokku access plus remote SSH access to invoke docker-options commands. Execution lands on the next build, deploy or run operation.
What to do
Upgrade Dokku to 0.38.25. That is a host package update plus the next deploy; no node reboot. Review existing docker-options values on affected apps for injected substitutions before redeploying, and audit who holds app-level Dokku access.
References
Related entries
- Docker Compose: attacker-controlled paths in OCI compose artifacts overwrite arbitrary files on the hostCVE-2025-62725 · Docker Compose (remote OCI compose artifact cache path handling)High
- Argo Workflows (controller, podSpecPatch in Strict/Secure template reference mode): A podSpecPatch on the submittedCVE-2026-31892 · Argo Workflows (controller, podSpecPatch in Strict/Secure template reference mode)High
- Argo Workflows (controller, ArtifactGC.PodSpecPatch / template reference allow-list): The allow-list that is supposedCVE-2026-54526 · Argo Workflows (controller, ArtifactGC.PodSpecPatch / template reference allow-list)High
- CRI-O: Ambient-capability mishandling runs containers with elevated privilegesCVE-2018-1000400 · CRI-OHigh
- Harbor: Privilege escalation in the Harbor registryCVE-2019-19023 · HarborHigh
- Rancher: Incorrectly applied authorization check lets a namespace be moved into a different projectCVE-2020-10676 · RancherHigh
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.