CVE-2026-54636: Dokku command injection and container escape in cron plugin

CVE-2026-54636 · Severity: critical · CVSS 9 · Published 2026-06-26

Dokku is an open-source platform used to deploy and manage applications in Docker containers. A security flaw in its cron scheduling plugin allows users with application deployment access to escape their isolated container. By including special characters in a configuration file, an attacker can execute unauthorized commands directly on the host server, potentially leading to a full system takeover or data theft.

Technologies: Dokku. Vendors: Dokku.

Quick answers

Is CVE-2026-54636 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-54636 being exploited in the wild.
How severe is CVE-2026-54636?
Critical severity, with a CVSS score of 9, published 26 June 2026.
Which products and versions are affected?
Dokku < 0.38.7.
Is there a fix for CVE-2026-54636?
A patch was published on 2026-05-25: Fix merged into master branch Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-54636 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-54636?
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.

Technical details

An OS command injection vulnerability exists in Dokku's cron plugin prior to version 0.38.7. The docker-local scheduler incorrectly writes cron commands from the app.json file directly into the host's crontab for the 'dokku' user. Because these commands are interpreted by the host's shell (bash -c) rather than being executed strictly within the container, an attacker can use shell metacharacters (e.g., ';', '>', '|') to break out of the containerized environment. Exploitation requires the attacker to have push access to an application. The vulnerability is resolved in version 0.38.7 by changing the crontab entry to use a wrapper command that resolves and executes the cron task inside the container at runtime.

Affected products

  • Dokku Dokku < 0.38.7

Timeline

  • 2026-05-25: patched: Fix merged into master branch
  • 2026-05-27: other: Release 0.38.7 published
  • 2026-06-16: advisory: GitHub Security Advisory published
  • 2026-06-26: disclosed: CVE published to NVD

References

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