CVE-2026-54636

Dokku: OS Command Injection via app.json managed Cron

Published Jun 26, 2026 CVSS 3.1 · 9 Critical EPSS < 1% KEV · Not listed
Description
Dokku is a docker-powered PaaS. Prior to 0.38.7, the cron plugin utilizes commands in the app.json file to manage system cron running as the Dokku user. An app.json cron command utilizing special shell characters - including, but not limited to, > or ; - can break out of the Docker container and execute commands on the host as the Dokku user. This vulnerability is fixed in 0.38.7.

Analysis

AI-generated

Technical impact

Dokku's cron plugin, before version 0.38.7, parses cron commands from app.json and executes them in the container as the Dokku user. Because the parser does not sanitize shell metacharacters, an attacker who can configure or alter an app.json file can inject shell syntax such as &gt; or ;. The injected command is then run in the container but can escape to the host kernel, allowing the attacker to execute arbitrary commands with Dokku's user privileges. This weakness, classified as CWE‑78 (OS Command Injection), may lead to full compromise of the host if the Dokku user has escalated rights or access to critical services.

Affected Systems

The vulnerability affects Dokku deployments running any version prior to 0.38.7. It applies to the Dokku PaaS that uses the cron plugin to manage scheduled tasks via app.json definitions. Users of older Dokku releases should check their version and update accordingly.

Risk and Exploitability

The CVSS score of 9.0 indicates high severity. The EPSS score is not available, so current exploitation probability is unknown; however, the issue is not listed in the CISA KEV catalog at present. The likely attack vector is through a compromised or malicious app.json file that defines a cron task. An attacker who can introduce such a file, for example via a repository push or a malicious application deployment, can trigger host‑side command execution as the Dokku user. If the Dokku user has sudo privileges or can access sensitive data, the risk escalates to system compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Dokku to version 0.38.7 or later.
  • Audit all existing app.json cron entries and remove any that contain shell metacharacters.
  • Disable or uninstall the dokku-cron plugin until the patch is applied.

Generated by OpenCVE AI on June 26, 2026 at 17:26 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 PaaS. Prior to 0.38.7, the cron plugin utilizes commands in the app.json file to manage system cron running as the Dokku user. An app.json cron command utilizing special shell characters - including, but not limited to, > or ; - can break out of the Docker container and execute commands on the host as the Dokku user. This vulnerability is fixed in 0.38.7.
Title Dokku: OS Command Injection via app.json managed Cron
Weaknesses CWE-78
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-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 29, 2026, 1:28 PM
Reserved
Jun 15, 2026, 8:07 PM
Status
Analyzed
Published
Jun 26, 2026, 5:16 PM
Modified
Jun 29, 2026, 2:16 PM