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.
Published: 2026-06-26
Score: 9 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

Generated by OpenCVE AI on June 26, 2026 at 17:26 UTC.

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Fri, 26 Jun 2026 16:45:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-26T16:23:58.377Z

Reserved: 2026-06-15T20:07:02.185Z

Link: CVE-2026-54636

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-26T17:30:05Z

Weaknesses
  • CWE-78

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