CVE-2026-72902

Dokploy: Authenticated RCE via Command Injection in registry.testRegistry / registry.testRegistryById

Published Aug 10, 2026 CVSS 3.1 · 9.9 Critical EPSS < 1% KEV · Not listed
Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, Dokploy allows an authenticated user to execute arbitrary commands on a local or SSH-connected target server because registry.testRegistry and registry.testRegistryById in apps/dokploy/server/api/routers/registry.ts interpolate the password field into an execAsyncRemote shell command instead of using safeDockerLoginCommand. This issue is fixed in version 0.29.13.

Analysis

AI-generated

Technical impact

Dokploy, a self-hosted PaaS platform, includes an endpoint that builds a shell command by inserting a user‑supplied password into it without proper escaping. An authenticated user who can call registry.testRegistry or registry.testRegistryById can inject arbitrary shell commands that run with the privileges of the Dokploy process, giving the attacker full control over the target or connected SSH server. This represents a classic command injection flaw (CWE‑78) and results in remote code execution.

Affected Systems

The vulnerability exists in all Dokploy deployments running a version earlier than 0.29.13. The fix was released in the 0.29.13 release, so any install that has not been updated against that milestone is potentially affected.

Risk and Exploitability

The CVSS score of 9.9 indicates critical severity. Although an EPSS value is not available, the flaw is fully exploitable by anyone with legitimate authentication credentials on the Dokploy instance, and because the attacker can run arbitrary commands on the host or connected SSH server, the impact extends to confidentiality, integrity, and availability. The vulnerability is not currently listed in CISA’s KEV catalog, but the high CVSS and ease of exploitation make it a priority for remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Dokploy 0.29.13 or later, which replaces the vulnerable logic with a safe Docker login command.
  • If an upgrade cannot be performed immediately, restrict access to the registry.testRegistry and registry.testRegistryById endpoints by applying firewall rules or role‑based controls so that only trusted users can invoke them.
  • Review any custom changes to the registry router code and ensure that no user‑supplied data is interpolated into shell commands; if such changes exist, refactor them to use safe execution patterns or escape arguments before passing them to the shell.

Generated by OpenCVE AI on August 10, 2026 at 21:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dokploy
Dokploy dokploy
Vendors & Products Dokploy
Dokploy dokploy
Type Values Removed Values Added
Description Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, Dokploy allows an authenticated user to execute arbitrary commands on a local or SSH-connected target server because registry.testRegistry and registry.testRegistryById in apps/dokploy/server/api/routers/registry.ts interpolate the password field into an execAsyncRemote shell command instead of using safeDockerLoginCommand. This issue is fixed in version 0.29.13.
Title Dokploy: Authenticated RCE via Command Injection in registry.testRegistry / registry.testRegistryById
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/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
Aug 12, 2026, 10:14 PM
Reserved
Aug 10, 2026, 5:57 PM
Status
Deferred
Published
Aug 10, 2026, 8:17 PM
Modified
Sep 8, 2026, 8:54 PM