Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsStudyTraining
ProjectsChecklistsAI RankingsNewsletterStatusTagsAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Study
Training
Projects
Checklists
AI Rankings
Newsletter
Status
Tags
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

1154+ Articles
126+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2026-27130 — Dokploy OS Command Injection via appName Parameter (CVSS 9.9)
CVE-2026-27130 — Dokploy OS Command Injection via appName Parameter (CVSS 9.9)

Critical Security Alert

This vulnerability is actively being exploited. Immediate action is recommended.

SECURITYCRITICALCVE-2026-27130

CVE-2026-27130 — Dokploy OS Command Injection via appName Parameter (CVSS 9.9)

Dokploy versions 0.26.6 and below contain a critical OS command injection vulnerability in the appName parameter, enabling unauthenticated remote code...

Dylan H.

Security Team

May 19, 2026
5 min read

Affected Products

  • Dokploy <= 0.26.6

Executive Summary

A critical OS command injection vulnerability (CVE-2026-27130) has been identified in Dokploy, a free, self-hostable Platform-as-a-Service (PaaS). Versions 0.26.6 and below are vulnerable. Attackers can inject arbitrary shell commands through the appName parameter due to three chained security weaknesses, achieving remote code execution (RCE) on the hosting server — potentially with root privileges in containerised deployment scenarios.

CVSS Score: 9.9 (Critical) CWE: CWE-78 — Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)

Dokploy is commonly self-hosted by developers, small teams, and infrastructure operators as an open-source alternative to Heroku and Railway. Deployments often have privileged access to the underlying host, making this vulnerability especially severe.


Vulnerability Overview

AttributeValue
CVE IDCVE-2026-27130
CVSS Score9.9 (Critical)
CWECWE-78 — OS Command Injection
TypeRemote Code Execution (unauthenticated)
Attack VectorNetwork
Privileges RequiredNone
User InteractionNone
Fixed VersionDokploy 0.26.7+

Affected Products

ProductVulnerable VersionsPatched Version
Dokploy (self-hosted PaaS)0.26.6 and all prior versions0.26.7 and above

Technical Analysis

Three Chained Weaknesses

The vulnerability arises from three individual security failures that chain together to produce a critical-severity command injection:

1. Inadequate Input Sanitization

The appName parameter accepted by Dokploy's application management endpoints is not stripped of shell metacharacters. Characters including semicolons (;), pipes (|), backticks, and command substitution sequences pass through the input layer unmodified.

2. Lack of Schema Validation

No schema-level validation enforces character constraints on the appName field. A proper allowlist validation (e.g., alphanumeric plus hyphens/underscores only) would reject malicious input before it reaches any execution path.

3. Direct Shell Interpolation

The appName value is interpolated directly into shell commands. Rather than using safe subprocess APIs with argument arrays (which bypass shell interpretation entirely), the application constructs shell command strings that include user-controlled data.

Attack Vector

An attacker sends a crafted request to a Dokploy API endpoint that accepts an appName parameter:

POST /api/application/create
{
  "appName": "myapp; malicious-command-here",
  ...
}

The injected payload is executed by the shell with Dokploy's process privileges. Given that Dokploy manages Docker containers and deployment pipelines, it typically runs with elevated privileges — in many installations, this translates to root-equivalent access on the host.

Why CVSS 9.9?

The near-perfect CVSS score reflects:

  • No authentication required in the vulnerable code path
  • No user interaction needed
  • Network-accessible attack surface
  • High impact on confidentiality, integrity, and availability
  • Potential for privilege escalation to host OS via Docker socket access

Impact Assessment

Impact AreaDescription
Full Server CompromiseArbitrary command execution with Dokploy process privileges
Container Escape RiskDocker socket access may enable host OS compromise
All Hosted ApplicationsEvery application managed by the Dokploy instance is at risk
Data ExfiltrationAccess to environment variables, database credentials, secrets
Persistent BackdoorAttackers can establish persistence via cron, SSH keys, or container images

Immediate Remediation

Step 1: Upgrade Dokploy

Update to Dokploy 0.26.7 or later immediately:

# Check current Dokploy version
dokploy --version
# or check package.json / docker image tag
 
# Update via the official update command (if using Dokploy's built-in updater)
curl -sSL https://dokploy.com/install.sh | sh
 
# If running via Docker Compose, pull the latest image
docker pull dokploy/dokploy:latest
docker compose up -d

Step 2: Restrict Network Access

If an immediate upgrade is not possible, restrict access to the Dokploy management interface:

# Restrict Dokploy API to trusted IPs only via firewall
ufw allow from 10.0.0.0/8 to any port 3000
ufw deny 3000
 
# Or configure Nginx/Traefik to require authentication before proxying to Dokploy

Step 3: Audit Existing Applications and Secrets

Assume compromise if running a vulnerable version that was network-accessible:

# Review recent command history on the host
cat /root/.bash_history
cat /home/*/.bash_history
 
# Check for new SSH authorized keys
cat /root/.ssh/authorized_keys
 
# Review recently modified files
find / -newer /tmp/check -type f 2>/dev/null | grep -v proc | head -50
 
# Check for new cron jobs
crontab -l
ls -la /etc/cron*

Step 4: Rotate All Secrets

Rotate all secrets stored in or accessible from the Dokploy environment:

  1. All environment variables configured in Dokploy applications
  2. Docker registry credentials
  3. SSH keys used for deployment
  4. Any cloud provider API tokens
  5. Database passwords for hosted applications

Detection Indicators

IndicatorDescription
Unexpected processes spawned by DokployProcesses that are not Docker or Node.js in origin
New SSH keys addedEntries in /root/.ssh/authorized_keys not added by administrators
Unusual outbound connectionsDNS, HTTP, or TCP connections to unknown external hosts
New cron jobs or systemd timersPersistence mechanisms installed by attacker
Modified container imagesBase images or entrypoints altered from expected values

Post-Remediation Checklist

  1. Upgrade Dokploy to 0.26.7 or later
  2. Rotate all secrets and credentials accessible from the Dokploy environment
  3. Audit server logs and process history for signs of prior exploitation
  4. Restrict Dokploy management interface to trusted network segments
  5. Review Docker socket exposure and apply least-privilege controls
  6. Enable rate limiting and authentication on all Dokploy API endpoints
  7. Document the incident and remediation in your change management system

References

  • NVD — CVE-2026-27130
  • Dokploy GitHub Repository
  • CWE-78 — OS Command Injection
  • OWASP — Command Injection Prevention Cheat Sheet
#CVE-2026-27130#Dokploy#OS Command Injection#RCE#PaaS#self-hosted#CWE-78

Related Articles

CVE-2026-33478: AVideo CloneSite Plugin Unauthenticated RCE (CVSS 10.0)

A critical chain of vulnerabilities in WWBN AVideo's CloneSite plugin allows fully unauthenticated attackers to achieve remote code execution via key...

4 min read

CVE-2026-25244 — WebdriverIO Command Injection RCE via Git Branch Names

A command injection vulnerability in WebdriverIO below version 9.24.0 allows remote code execution through malicious git branch names containing shell...

5 min read

CVE-2026-8153: Universal Robots PolyScope OS Command Injection — Unauthenticated RCE on Industrial Robots

A critical OS command injection flaw in Universal Robots PolyScope Dashboard Server (CVSS 9.8) allows unauthenticated attackers to execute arbitrary...

6 min read
Back to all Security Alerts