CVE-2026-54636
Analyzed Analyzed - Analysis Complete

Command Injection in Dokku via Malicious cron in app.json

Vulnerability report for CVE-2026-54636, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-26

Last updated on: 2026-06-29

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-26
Last Modified
2026-06-29
Generated
2026-07-16
AI Q&A
2026-06-26
EPSS Evaluated
2026-07-15
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
dokku dokku to 0.38.7 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-54636 is a critical security vulnerability in Dokku's cron plugin prior to version 0.38.7. The plugin processes cron commands defined in an app.json file and writes them directly into the host system's crontab running as the Dokku user.

Because these commands can include special shell characters like > or ;, an attacker can exploit this to break out of the Docker container and execute arbitrary commands on the host system with Dokku user privileges.

The vulnerability was fixed by changing how cron commands are executed, running them safely inside the container at runtime, and by validating app.json files to reject commands containing shell operators.

Detection Guidance

This vulnerability can be detected by inspecting the cron jobs running as the Dokku user on the host system, specifically looking for cron commands originating from the app.json file that contain special shell characters such as > or ; which could allow command injection.

You can check the crontab entries for the Dokku user by running the following command on the host system:

  • crontab -u dokku -l

Look for any cron commands that include shell metacharacters or appear to be directly executing commands from app.json without the safer wrapper command (`dokku cron:run <app> <cron-id>`).

Impact Analysis

This vulnerability allows an attacker with push access to an application to execute arbitrary commands on the host system outside the Docker container.

Since the commands run with the privileges of the Dokku user, this can lead to full compromise of the host system's confidentiality, integrity, and availability.

Potential impacts include unauthorized data access or modification, disruption of services, and further escalation of privileges on the host.

Compliance Impact

The vulnerability allows attackers to execute arbitrary commands on the host system with the privileges of the Dokku user by escaping the Docker container through specially crafted cron commands. This can lead to unauthorized access, data breaches, and potential manipulation or disruption of system operations.

Such unauthorized access and potential data compromise can negatively impact compliance with common standards and regulations like GDPR and HIPAA, which require strict controls over data confidentiality, integrity, and availability.

Therefore, if exploited, this vulnerability could result in violations of these regulations due to the risk of exposure or alteration of sensitive data and disruption of services.

Mitigation Strategies

To mitigate this vulnerability immediately, upgrade Dokku to version 0.38.7 or later, where the issue has been fixed.

The fix involves changing the way cron commands are executed by using a safer format that runs commands inside the container at runtime and validating app.json files during deployment to reject commands containing shell operators.

Until you can upgrade, review and remove any cron commands in app.json files that contain special shell characters to prevent command injection.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-54636. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart