A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Read More
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-27130

CVE-2026-27130: Dokploy OS Command Injection Vulnerability

CVE-2026-27130 is an OS command injection flaw in Dokploy that allows authenticated attackers to execute arbitrary commands via the appName parameter. This article covers technical details, affected versions, and mitigation.

Published: May 21, 2026

CVE-2026-27130 Overview

CVE-2026-27130 is an OS command injection vulnerability [CWE-78] in Dokploy, a free self-hostable Platform as a Service (PaaS). The flaw exists in versions 0.26.6 and below. The appName parameter accepts user-controlled input that flows into shell commands without proper sanitization. An authenticated attacker can inject shell metacharacters during application creation. These payloads execute with server-level privileges when service operations such as start, stop, remove, or scale are triggered. The maintainers resolved this issue in version 0.26.7.

Critical Impact

Authenticated attackers can achieve remote code execution on the Dokploy host with server-level privileges, leading to full compromise of the PaaS environment and all hosted applications.

Affected Products

  • Dokploy versions 0.26.6 and earlier
  • Self-hosted Dokploy PaaS deployments
  • Dokploy instances exposing application creation endpoints to authenticated users

Discovery Timeline

  • 2026-05-18 - CVE-2026-27130 published to NVD
  • 2026-05-19 - Last updated in NVD database

Technical Details for CVE-2026-27130

Vulnerability Analysis

The vulnerability stems from three chained weaknesses in Dokploy's application creation and service management flow. User-supplied application names pass through a cleanAppName function that only lowercases input and replaces spaces. No schema validation rejects shell metacharacters. The sanitized value is then interpolated directly into shell commands executed via execAsync() and execAsyncRemote().

An authenticated attacker submits an appName containing characters such as ;, $(), backticks, |, or &. These characters survive sanitization because they are neither spaces nor uppercase letters. When Dokploy later invokes a Docker or service operation referencing the application, the shell interprets the injected metacharacters as command separators or substitutions. The injected commands run under the privileges of the Dokploy server process.

Root Cause

The root cause is missing input validation combined with unsafe shell interpolation. The cleanAppName helper enforces cosmetic normalization rather than security boundaries. Application names are persisted to the database and later concatenated into command strings without quoting or argument-array execution.

Attack Vector

Exploitation requires an authenticated session with permission to create applications or compose services. The attacker creates an application with a malicious appName. Any subsequent lifecycle action triggers shell execution of the injected payload on the Dokploy host or remote target node.

typescript
// Patch: packages/server/src/db/schema/application.ts
// Adds regex-based validation for appName at the schema layer
-import { generateAppName } from "./utils";
+import { APP_NAME_MESSAGE, APP_NAME_REGEX, generateAppName } from "./utils";
 export const sourceType = pgEnum("sourceType", [
 	"docker",
 	"git",

Source: GitHub Commit 960892f

The patch introduces APP_NAME_REGEX and APP_NAME_MESSAGE constants applied across both application.ts and compose.ts schemas. This enforces character class restrictions before any value reaches shell execution paths.

Detection Methods for CVE-2026-27130

Indicators of Compromise

  • Dokploy application records with appName values containing shell metacharacters such as ;, |, &, backticks, or $(...) sequences
  • Unexpected child processes spawned by the Dokploy Node.js process, particularly shells, network utilities, or package managers
  • Outbound network connections from the Dokploy host to unfamiliar destinations following application lifecycle events
  • New SSH keys, cron jobs, or systemd units created on the Dokploy host without change-management records

Detection Strategies

  • Query the Dokploy database for application and compose records whose appName does not match the allowed regex pattern enforced in 0.26.7
  • Audit process-creation telemetry for shells (sh, bash) spawned as children of the Dokploy server process around application start, stop, remove, or scale events
  • Review Dokploy application logs for service operations that correlate with anomalous process trees or outbound traffic

Monitoring Recommendations

  • Enable endpoint detection and response telemetry on Dokploy hosts to capture process lineage and command-line arguments
  • Forward Dokploy audit logs and host process events to a central analytics platform for correlation across lifecycle actions
  • Alert on creation of administrative accounts, scheduled tasks, or persistence artifacts on PaaS hosts following recent application changes

How to Mitigate CVE-2026-27130

Immediate Actions Required

  • Upgrade Dokploy to version 0.26.7 or later on all self-hosted instances
  • Restrict application-creation permissions to trusted administrative users until the upgrade is complete
  • Review existing application and compose records for appName values containing shell metacharacters and remove or rename them
  • Rotate credentials, SSH keys, and API tokens stored on the Dokploy host if compromise is suspected

Patch Information

The fix is in commit 960892fd8dcf12b7a73a00edaa1b7090fca860c7, released in Dokploy 0.26.7. The patch adds APP_NAME_REGEX validation at the database schema layer in both application.ts and compose.ts. Details are available in the GitHub Security Advisory GHSA-fcgq-jjfg-hrhj.

Workarounds

  • Place the Dokploy management interface behind a VPN or IP allowlist to limit who can authenticate
  • Disable application-creation and compose-creation endpoints for non-administrative roles where feasible
  • Add a reverse-proxy WAF rule rejecting requests whose appName field contains characters outside [a-z0-9-]
bash
# Upgrade Dokploy to the patched release
docker pull dokploy/dokploy:0.26.7
docker service update --image dokploy/dokploy:0.26.7 dokploy

# Verify the running version
docker service inspect dokploy --format '{{.Spec.TaskTemplate.ContainerSpec.Image}}'

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDokploy

  • SeverityCRITICAL

  • CVSS Score9.9

  • EPSS Probability0.24%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Commit Message

  • GitHub Security Advisory GHSA-fcgq-jjfg-hrhj
  • Related CVEs
  • CVE-2026-24841: Dokploy WebSocket RCE Vulnerability

  • CVE-2026-24839: Dokploy Clickjacking CSRF Vulnerability

  • CVE-2026-24840: Dokploy Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English