All vulnerabilities

Servers and applications

CVE-2026-27130

Command Injection in Dokploy Service Operations

Severity
Critical 9.9
Published
11 May 2026
Last changed
11 May 2026
Added to UpHeron
1 Nov 2026
Exploit chance
1.2% in the next 30 daysHigher than 69% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
OS command injection (CWE-78)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Also known as
GHSA-fcgq-jjfg-hrhj
Sources
Project advisories (GitHub)

Description

Dokploy is vulnerable to OS command injection through the appName parameter. User-controlled application names are passed through inadequate sanitization (cleanAppName function only replaces spaces and converts to lowercase) before being interpolated directly into shell commands executed via execAsync() and execAsyncRemote(). An authenticated attacker can inject shell metacharacters (e.g., ;, $(), backticks, |, &) in the appName field during application creation, which are then executed with server-level privileges when service operations (start, stop, remove, scale) are triggered.

The vulnerability exists due to three compounding issues:

  • Inadequate Input Sanitization: The cleanAppName() function in https://github.com/Dokploy/dokploy/blob/canary/packages/server/src/db/schema/utils.ts only performs minimal processing:

This function does NOT sanitize shell metacharacters like ;, $(), backticks, |, &, >, <, or newlines.

From Dokploy/dokploy's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
DokployServers and applications · github:dokploy/dokploy
  • Every version up to 0.26.6

About Dokploy

Open Source Alternative to Vercel, Netlify and Heroku.

From its GitHub repository.
Total downloads
6MDokploy
Docker Hub pulls
16,318,110Docker Hub, 15 Nov 2026
GitHub stars
38,516GitHub, 15 Nov 2026
Forks
3,176GitHub, 15 Nov 2026
Latest release
v0.31.2GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
First published on GitHub
19 Apr 2024GitHub

References