The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2025-59156

CVE-2025-59156: Coolify RCE Vulnerability

CVE-2025-59156 is a remote code execution flaw in Coolify that allows low-privileged members to inject malicious Docker Compose directives and execute root-level commands. This article covers technical details, affected versions, and patches.

Updated: January 22, 2026

CVE-2025-59156 Overview

CVE-2025-59156 is a Remote Code Execution (RCE) vulnerability affecting Coolify, an open-source and self-hostable tool for managing servers, applications, and databases. This flaw exists in Coolify's application deployment workflow, allowing a low-privileged member to inject arbitrary Docker Compose directives during project creation or updates. By defining a malicious service that mounts the host filesystem, an attacker can achieve root-level command execution on the host OS, completely bypassing container isolation.

Critical Impact

This vulnerability enables complete host system compromise through container escape, allowing attackers with low-privilege access to execute arbitrary commands as root on the underlying host operating system.

Affected Products

  • Coolify versions prior to 4.0.0-beta.420.7

Discovery Timeline

  • 2026-01-05 - CVE CVE-2025-59156 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2025-59156

Vulnerability Analysis

This vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command, commonly known as OS Command Injection). The flaw resides in Coolify's handling of Docker Compose configurations during the application deployment workflow.

The vulnerability allows authenticated users with low privileges to inject malicious Docker Compose directives when creating or updating projects. The application fails to properly validate and sanitize user-controlled input that gets incorporated into Docker Compose configurations, enabling attackers to define arbitrary service configurations.

The most severe exploitation path involves mounting sensitive host directories (such as / or /etc) into a malicious container, effectively breaking out of container isolation. Once the host filesystem is accessible within the attacker-controlled container, arbitrary commands can be executed with root privileges on the host system.

Root Cause

The root cause is insufficient input validation in the Docker Compose configuration handling mechanism. Coolify fails to restrict or sanitize Docker Compose directives that users can specify during project creation or updates. This allows attackers to inject dangerous configuration options such as volume mounts that expose the host filesystem, privileged container settings, or other security-sensitive Docker parameters that should be restricted.

Attack Vector

The attack can be executed remotely over the network by any authenticated user with member-level privileges in a Coolify instance. The exploitation process involves:

  1. Authenticating to the Coolify application with a low-privileged member account
  2. Creating or updating a project with a malicious Docker Compose configuration
  3. Injecting a service definition that mounts the host filesystem (e.g., mounting / to a container path)
  4. Executing commands within the container that operate on the mounted host filesystem
  5. Achieving persistent root access to the host operating system

The vulnerability does not require any user interaction beyond the attacker's own actions, and the attack complexity is low since it only requires basic authentication and knowledge of Docker Compose syntax. For detailed technical information, see the GitHub Security Advisory.

Detection Methods for CVE-2025-59156

Indicators of Compromise

  • Unexpected Docker containers with host filesystem mounts (volumes containing :/ or sensitive paths like /etc, /root, /var)
  • Unusual project configurations containing privileged Docker Compose directives
  • New or modified cron jobs, SSH keys, or system services on the host that were not administratively created
  • Container processes executing commands that interact with mounted host directories

Detection Strategies

  • Monitor Docker daemon logs for container creations with suspicious volume mount configurations
  • Implement audit logging for all project creation and update operations within Coolify
  • Scan Docker Compose configurations for dangerous directives such as host filesystem mounts, privileged mode, or capability additions
  • Review Coolify application logs for unusual project modification patterns by low-privileged users

Monitoring Recommendations

  • Enable comprehensive audit logging for all Coolify administrative and deployment operations
  • Configure alerts for Docker containers started with host path volume mounts
  • Monitor for unexpected changes to host system files, particularly in /etc/crontab, /etc/passwd, /root/.ssh/authorized_keys
  • Implement network segmentation and monitoring for anomalous traffic from Coolify-managed hosts

How to Mitigate CVE-2025-59156

Immediate Actions Required

  • Upgrade Coolify to version 4.0.0-beta.420.7 or later immediately
  • Audit all existing project configurations for malicious Docker Compose directives
  • Review user access and privileges within Coolify, applying least privilege principles
  • Inspect host systems managed by Coolify for signs of compromise

Patch Information

The vulnerability has been addressed in Coolify version 4.0.0-beta.420.7. This patch implements proper validation and sanitization of Docker Compose configurations to prevent injection of dangerous directives. Administrators should update their Coolify installations immediately by following the standard upgrade procedure. Additional details are available in the GitHub Security Advisory.

Workarounds

  • Restrict Coolify access to only trusted administrators until the patch can be applied
  • Implement additional network-level access controls to limit who can reach the Coolify management interface
  • Review and remove unnecessary member accounts that could be used to exploit this vulnerability
  • Consider disabling project creation/update capabilities for non-administrator users through reverse proxy or application firewall rules
bash
# Audit existing Docker containers for suspicious volume mounts
docker ps -a --format '{{.Names}}' | xargs -I {} docker inspect {} --format '{{.Name}}: {{range .Mounts}}{{.Source}} -> {{.Destination}} {{end}}'

# Check for containers with host root filesystem mounted
docker inspect $(docker ps -q) --format '{{.Name}}: {{range .Mounts}}{{if eq .Source "/"}}HOST ROOT MOUNTED{{end}}{{end}}' | grep "HOST ROOT"

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechCoolify

  • SeverityCRITICAL

  • CVSS Score9.4

  • EPSS Probability0.17%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-59157: Coolify Command Injection RCE Vulnerability

  • CVE-2025-64419: Coolify RCE Vulnerability

  • CVE-2025-64424: Coolify Command Injection RCE Vulnerability

  • CVE-2025-59955: Coolify Information Disclosure Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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