CVE-2026-72877: Dokploy: Command Injection via dockerImage in buildRemoteDocker

Published Aug 10, 2026
·
Updated

Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the dockerImage field is interpolated without quoting into shell commands in buildRemoteDocker() in packages/server/src/utils/providers/docker.ts and is validated only as an optional string. An authenticated user with application create or update permission can use shell command substitution in dockerImage to execute arbitrary commands on the local build host or a remote SSH build target, exposing host secrets and other projects. This issue is fixed in version 0.29.13.

Affected Software

1 affected component
Dokploy Dokploy<0.29.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.29.13
  2. Compensating control

    Restrict who can create or update Dokploy applications (requires application create or update permission) until all instances are upgraded to 0.29.13.

Event History

Aug 10, 2026
CVE Published
via MITRE·07:02 PM
Data Sourced
via MITRE·07:02 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-72877?

The severity of CVE-2026-72877 is classified as critical with a score of 9.6.

2

How do I fix CVE-2026-72877?

To fix CVE-2026-72877, update Dokploy to version 0.29.13 or later where the vulnerability has been addressed.

3

What type of vulnerability is CVE-2026-72877?

CVE-2026-72877 is an OS Command Injection vulnerability.

4

Who is affected by CVE-2026-72877?

CVE-2026-72877 affects authenticated users of Dokploy versions prior to 0.29.13.

5

What is the primary impact of CVE-2026-72877?

The primary impact of CVE-2026-72877 is the potential for unauthorized command execution on the server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2026-72877 - Dokploy: Command Injection via dockerImage in buildRemoteDocker - SecAlerts