CVE-2026-129986 Dokploy: OS Command Injection via filePath in mount.deleteFileMount → HOST RCE

Published Updated

Authenticated Dokploy members with file-mount permissions can execute arbitrary host commands by supplying a crafted filePath.

CVSS score

Critical

9.9/10

CVSS 3.1 · Scored by GitHub Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
0.31.1
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-129986?

CVE-2026-129986 is a critical command injection vulnerability in dokploy, published on 18 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.31.1, mount.deleteFileMount passes a path containing the user-controlled filePath to the local removeFileOrDirectory helper, which interpolates it unquoted into rm -rf, while the remote branch is quoted. An authenticated member with file-mount create and delete permissions can execute arbitrary commands in the host context immediately when deleting a local file mount, without requiring a running container. This issue is fixed in version 0.31.1.

Weakness: CWE-78, CWE-77

How severe is CVE-2026-129986?

CVE-2026-129986 scores 9.9 out of 10 under CVSS 3.1, which is critical severity. It was scored by GitHub.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Which versions are affected by CVE-2026-129986?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-129986?

Upgrade dokploy to 0.31.1 or later. The advisory says that version fixes it.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-129986 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-129986 exists.

Sources

Also known as GHSA-945r-hp2m-928m.

Is CVE-2026-129986 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free