Dokploy PaaS: Critical OS Command Injection CVE-2026-27130
A critical OS command injection vulnerability, CVE-2026-27130, has been identified in Dokploy, a self-hostable Platform as a Service (PaaS). The National Vulnerability Database (NVD) reports that Dokploy versions 0.26.6 and below are affected. This flaw, rated 9.9 CVSS (CRITICAL), stems from a chain of issues: inadequate input sanitization, a lack of schema validation, and direct shell interpolation.
The core problem lies in how Dokploy handles the appName parameter. User-controlled application names, passed through a cleanAppName function that only replaces spaces and converts to lowercase, are directly interpolated into shell commands. These commands are executed via execAsync() and execAsyncRemote(). An authenticated attacker can inject shell metacharacters (e.g., ;, $(, backticks, |, &) into the appName field during application creation. These malicious commands are then executed with server-level privileges whenever service operations (start, stop, remove, scale) are triggered.
This vulnerability, classified under CWE-78 (Improper Neutralization of Special Elements used in an OS Command), gives an authenticated attacker complete control over the underlying server. Dokploy has addressed this issue in version 0.26.7. Defenders running Dokploy must prioritize patching immediately.
What This Means For You
- If your organization uses Dokploy, you are running a critical risk. An authenticated attacker can achieve full remote code execution on your server. Check your Dokploy version immediately and ensure you are running 0.26.7 or higher. If you're on an affected version, patch now and audit logs for any unusual application creation or service operations from authenticated users.
Related ATT&CK Techniques
🛡️ Detection Rules
3 rules · 6 SIEM formats3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
CVE-2026-27130 - Dokploy OS Command Injection via appName
title: CVE-2026-27130 - Dokploy OS Command Injection via appName
id: scw-2026-05-18-ai-1
status: experimental
level: critical
description: |
Detects the creation of a new application in Dokploy (versions 0.26.6 and below) where the 'appName' parameter contains characters indicative of OS command injection. This targets the specific vulnerability CVE-2026-27130 by looking for the API endpoint and common injection payloads within the appName parameter.
author: SCW Feed Engine (AI-generated)
date: 2026-05-18
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-27130/
tags:
- attack.initial_access
- attack.t1190
logsource:
category: webserver
detection:
selection:
cs-uri|contains:
- '/api/apps'
cs-method|exact:
- 'POST'
cs-uri-query|contains:
- 'appName='
selection_injection:
cs-uri-query|contains:
- 'appName=%27%3B%20'
- 'appName=%27%26%26%20'
- 'appName=%27%7C%7C%20'
- 'appName=%24%28'
- 'appName=%60'
condition: selection AND selection_injection
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-27130 | Command Injection | Dokploy versions 0.26.6 and below |
| CVE-2026-27130 | Command Injection | Vulnerable parameter: appName |
| CVE-2026-27130 | Command Injection | Vulnerable functions: execAsync(), execAsyncRemote() |
| CVE-2026-27130 | Command Injection | Attack vector: authenticated attacker injecting shell metacharacters (e.g., ;, $(), backticks, |, &) in appName during application creation |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | May 19, 2026 at 00:16 UTC |
This content was AI-rewritten and enriched by Shimi's Cyber World based on the original source. All intellectual property rights remain with the original author.
Believe this infringes your rights? Submit a takedown request.