Skip to content
DayZeroHub
Critical CVSS 9.9CVE-2026-129989

Dokploy: OS command injection via publishDirectory in the Nixpacks build pipeline (CVE-2026-129989)

Dokploy dokploy

Summary

Dokploy versions prior to 0.31.1 do not sanitize the Nixpacks publishDirectory build setting, allowing an authenticated user to run arbitrary commands on the host. The vulnerability is rated critical (CVSS 3.1: 9.9) and is fixed in version 0.31.1.

What happened

Dokploy is a free, self-hostable Platform as a Service (PaaS). In versions 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. The weakness is classified as CWE-78 (OS command injection).

Why it matters

According to the source, exploitation can lead to host compromise through the privileged Docker environment. The score is CVSS 3.1 9.9 (critical severity), with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, assigned by CNA:GitHub_M. It requires authentication and access to an application. CISA's KEV catalog does not list this vulnerability as actively exploited, and the source provides no indication that it has been exploited.

Affected products and versions

Dokploy (vendor: Dokploy): versions prior to 0.31.1 (< 0.31.1).

ProductVersionsFixed in
Dokploy dokploy< 0.31.1—

Action recommended by the source

The vendor states the issue is fixed in version 0.31.1. The source links the GitHub security advisory (GHSA-98j8-6vjr-c3xw), pull request #5911, the fix commit and the v0.31.1 release.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-78

Relevant change history

  1. Published

    Advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources