Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2025-22612

CVE-2025-22612: Coolify Auth Bypass Vulnerability

CVE-2025-22612 is an authorization bypass flaw in Coollabs Coolify that lets authenticated users retrieve private keys and execute arbitrary commands on remote servers. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 18, 2026

CVE-2025-22612 Overview

CVE-2025-22612 is a critical authorization bypass vulnerability in Coolify, an open-source and self-hostable tool for managing servers, applications, and databases. The vulnerability allows any authenticated user to retrieve existing private SSH keys stored on a Coolify instance in plain text. When the compromised server configuration (IP/domain, port, and user) matches a victim's server, attackers can leverage these stolen credentials to execute arbitrary commands on remote servers, potentially leading to complete infrastructure compromise.

Critical Impact

Authenticated attackers can steal plaintext private SSH keys and execute arbitrary commands on remote servers when server configurations match, enabling full infrastructure takeover.

Affected Products

  • Coollabs Coolify versions prior to 4.0.0-beta.374
  • Coolify 4.0.0-beta.18 through 4.0.0-beta.373
  • All Coolify installations using shared SSH key management

Discovery Timeline

  • January 24, 2025 - CVE-2025-22612 published to NVD
  • September 19, 2025 - Last updated in NVD database

Technical Details for CVE-2025-22612

Vulnerability Analysis

This vulnerability stems from a missing authorization check within Coolify's private key retrieval mechanism. The application fails to enforce proper access controls when authenticated users request SSH private keys, allowing any authenticated user—regardless of their assigned permissions or role—to access keys belonging to other users or system-level credentials. The vulnerability is particularly severe because SSH private keys are returned in plaintext, completely bypassing any encryption or access restriction that should protect such sensitive credentials.

The impact extends beyond simple information disclosure. Since Coolify is designed to manage remote servers, the stolen SSH keys can be directly used for lateral movement. If an attacker determines that a stolen key corresponds to a server with matching IP/domain, standard SSH port (22), and root user configuration, they can establish unauthorized SSH sessions and execute arbitrary commands with root privileges.

Root Cause

The root cause is a missing authorization check in the API endpoint or function responsible for retrieving private keys. The application authenticates users but does not verify whether the authenticated user has authorization to access the specific private key being requested. This represents a classic Broken Access Control vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) where authentication is correctly implemented but authorization is absent or improperly enforced.

Attack Vector

The attack requires network access to a vulnerable Coolify instance and valid authentication credentials. An attacker with a low-privileged account on the Coolify platform can exploit this vulnerability through the following attack flow:

  1. Authenticate to the Coolify instance using any valid credentials
  2. Make API requests to enumerate and retrieve all stored private keys
  3. Receive private SSH keys in plaintext response
  4. Identify target servers by correlating key metadata with known infrastructure
  5. Use stolen keys to establish SSH connections to target servers
  6. Execute arbitrary commands with the privileges associated with the key (often root)

The vulnerability requires no user interaction and can be exploited remotely over the network. The scope extends beyond the vulnerable component itself, as compromised SSH keys can be used to access external systems that trust those keys.

Detection Methods for CVE-2025-22612

Indicators of Compromise

  • Unusual API requests to private key retrieval endpoints from non-administrative users
  • Multiple SSH key access attempts across different key IDs from a single user session
  • Unexpected SSH authentication events on managed servers from unfamiliar source IPs
  • Audit log entries showing bulk access to SSH key resources by low-privileged accounts

Detection Strategies

  • Implement API request logging for all private key access operations and alert on requests from users who should not have access to those keys
  • Monitor SSH authentication logs on managed servers for connections using known Coolify-managed keys from unexpected IP addresses
  • Deploy anomaly detection for user behavior patterns, flagging accounts that suddenly access resources outside their normal scope
  • Review Coolify access logs for enumeration patterns such as sequential key ID requests

Monitoring Recommendations

  • Enable comprehensive audit logging within Coolify and forward logs to a SIEM for correlation
  • Set up alerts for any SSH key access operations performed by non-owner users
  • Monitor network traffic for unusual outbound SSH connections from Coolify servers
  • Implement file integrity monitoring on SSH key storage locations within the Coolify deployment

How to Mitigate CVE-2025-22612

Immediate Actions Required

  • Upgrade Coolify to version 4.0.0-beta.374 or later immediately
  • Audit all SSH keys stored in Coolify and rotate any keys that may have been accessed by unauthorized users
  • Review access logs to identify any suspicious key retrieval activity prior to patching
  • Temporarily restrict network access to Coolify instances until patching is complete

Patch Information

Coolify version 4.0.0-beta.374 addresses this vulnerability by implementing proper authorization checks on the private key retrieval functionality. The patch ensures that only users with appropriate ownership or administrative permissions can access specific private keys. Organizations should update to this version or later as soon as possible.

For detailed patch information and the security advisory, see the Coolify GitHub Security Advisory.

Workarounds

  • Implement network-level access controls to restrict Coolify access to trusted IP addresses only until patching is complete
  • Disable or remove unnecessary user accounts from the Coolify instance to limit the pool of potential attackers
  • Deploy a web application firewall (WAF) with rules to detect and block bulk key retrieval requests
  • Consider temporarily disabling external network access to Coolify if immediate patching is not feasible
bash
# Example: Restrict network access to Coolify using firewall rules
# Allow only trusted IP ranges to access the Coolify web interface
iptables -A INPUT -p tcp --dport 3000 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 3000 -j DROP

# Alternative: Use UFW on Ubuntu/Debian systems
ufw allow from 10.0.0.0/8 to any port 3000
ufw deny 3000

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechCoollabs Coolify

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.52%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-200
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-22611: Coolify Privilege Escalation Vulnerability
Default Legacy - Prefooter | 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