Summary
Dokploy versions prior to 0.31.1 allow an authenticated user to inject operating-system commands through a schedule's appName. The source states the issue 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, a user-controlled schedule appName is joined into the schedule directory path and interpolated, without shell quoting, into the commands that create that directory and write the schedule script. An authenticated user who can create or update a dokploy-server schedule can inject operating-system commands that run with the Dokploy process privileges when the schedule is saved. The source notes this includes root privileges on typical installations. The weakness is classified as CWE-77. The CVSS 4.0 score is 8.7 (high severity), with vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N, per CNA:GitHub_M.
Why it matters
Exploitation requires an authenticated account with permission to create or update schedules, but it allows command execution with the privileges of the Dokploy process, which the source says can be root on typical installations. The source does not indicate active exploitation, and the issue is not listed as exploited in CISA's KEV catalog.
Affected products and versions
Dokploy (vendor: Dokploy): versions prior to 0.31.1 (< 0.31.1).
| Product | Versions | Fixed in |
|---|---|---|
| Dokploy dokploy | < 0.31.1 | — |
Action recommended by the source
The vendor states the issue is fixed in version 0.31.1. Further details are in the vendor advisory (GHSA-8m32-h7qx-8r79), pull request 5906, and the v0.31.1 release in the Dokploy GitHub repository.
Sources and references
- https://github.com/Dokploy/dokploy/security/advisories/GHSA-8m32-h7qx-8r79 — CVE Program
- https://github.com/Dokploy/dokploy/pull/5906 — CVE Program
- https://github.com/Dokploy/dokploy/commit/0fa3101a7e76173c60a3015d37a02e7c892b9ab3 — CVE Program
- https://github.com/Dokploy/dokploy/releases/tag/v0.31.1 — CVE Program
Weaknesses (CWE): CWE-77
Relevant change history
Published
Advisory published.