CVE-2026-129989 Dokploy: OS Command Injection via unsanitized publishDirectory in Nixpacks build pipeline

Published Updated

Authenticated Dokploy users can inject shell commands via the Nixpacks publishDirectory setting to compromise the host.

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-129989?

CVE-2026-129989 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, the Nixpacks publishDirectory build setting accepts shell metacharacters and is interpolated into a docker cp command executed through child_process.exec. An authenticated user with access to an application can execute arbitrary commands on the Dokploy host when triggering a Nixpacks deployment, leading to host compromise through the privileged Docker environment. This issue is fixed in version 0.31.1.

Weakness: CWE-78

How severe is CVE-2026-129989?

CVE-2026-129989 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-129989?

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

How do I fix CVE-2026-129989?

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-129989 being exploited?

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

Sources

Also known as GHSA-98j8-6vjr-c3xw.

Is CVE-2026-129989 in your software?

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

Check your SBOMs for free