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
    • 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-27364

CVE-2025-27364: MITRE Caldera RCE Vulnerability

CVE-2025-27364 is a remote code execution vulnerability in MITRE Caldera's dynamic agent compilation that lets attackers execute arbitrary code via crafted API requests. This article covers technical details, affected versions, and mitigations.

Updated: January 22, 2026

CVE-2025-27364 Overview

A critical Remote Code Execution (RCE) vulnerability has been identified in MITRE Caldera, an open-source adversary emulation platform widely used by security teams for red team exercises and adversary simulation. The vulnerability exists in the dynamic agent (implant) compilation functionality of the Caldera server, allowing unauthenticated remote attackers to execute arbitrary code on the server by exploiting the agent build process through malicious web requests.

The flaw specifically targets the API endpoints responsible for compiling and downloading Caldera's Sandcat or Manx agents. Attackers can abuse the gcc -extldflags linker flag to inject sub-commands, enabling arbitrary command execution on the underlying server. This represents a severe supply-chain risk for organizations using Caldera in their security testing infrastructure.

Critical Impact

Unauthenticated attackers can achieve full remote code execution on Caldera servers, potentially compromising red team infrastructure and gaining access to sensitive security testing environments.

Affected Products

  • MITRE Caldera versions through 4.2.0
  • MITRE Caldera version 5.0.0 (before commit 35bc06e)
  • All installations with agent compilation functionality enabled

Discovery Timeline

  • 2025-02-24 - CVE-2025-27364 published to NVD
  • 2025-02-24 - Last updated in NVD database

Technical Details for CVE-2025-27364

Vulnerability Analysis

This vulnerability is classified as CWE-78 (OS Command Injection), where user-controllable input is passed unsafely to an operating system command. The Caldera server exposes API endpoints that allow users to request dynamically compiled agent binaries (Sandcat for Go-based agents and Manx for reverse shell agents). The compilation process uses the GNU Compiler Collection (gcc) to build these agents with user-specified parameters.

The critical flaw lies in the insufficient sanitization of user-supplied parameters before they are passed to the gcc compiler. Specifically, the -extldflags option (extended linker flags) accepts arguments that can include shell command substitution syntax. When a malicious payload is crafted within this parameter, the shell interprets embedded commands during the compilation process, leading to arbitrary code execution with the privileges of the Caldera server process.

Organizations using Caldera as part of their security testing infrastructure face significant risk, as compromising the Caldera server could provide attackers with access to adversary emulation playbooks, network reconnaissance data, and potentially pivot points into production environments.

Root Cause

The root cause of this vulnerability is improper input validation and sanitization of user-supplied parameters passed to the agent compilation functionality. The server fails to properly validate or escape special characters in linker flag arguments before incorporating them into gcc command strings executed via shell invocation. This allows command injection through shell metacharacters and command substitution syntax embedded in the -extldflags parameter.

Attack Vector

The attack is network-based and can be executed without authentication. An attacker sends a specially crafted HTTP request to the Caldera server's agent compilation API endpoint. The request includes malicious linker flags containing embedded shell commands using command substitution syntax (e.g., $(malicious_command) or backtick notation).

When the server processes this request and invokes gcc with the attacker-controlled flags, the embedded commands are executed by the shell. This allows the attacker to:

  1. Execute arbitrary system commands on the Caldera server
  2. Establish reverse shells for persistent access
  3. Exfiltrate sensitive data from the security testing environment
  4. Modify or poison agent binaries for supply-chain attacks
  5. Pivot to other systems accessible from the Caldera server

The vulnerability can be exploited through crafted web requests to the /api/v2/agents/ or similar compilation endpoints, injecting commands through the gcc -extldflags linker option with sub-commands.

Detection Methods for CVE-2025-27364

Indicators of Compromise

  • Unusual HTTP requests to Caldera agent compilation API endpoints containing -extldflags or unusual linker parameters
  • Unexpected child processes spawned by the Caldera server process or gcc compiler processes
  • Network connections initiated by the Caldera server to unexpected external destinations
  • Suspicious gcc command invocations containing shell metacharacters or command substitution syntax in server logs

Detection Strategies

  • Monitor Caldera server logs for API requests to agent compilation endpoints with suspicious parameters containing shell metacharacters ($(), backticks, semicolons, pipes)
  • Implement process monitoring to detect unexpected child processes spawned by the Caldera service or gcc processes
  • Deploy network monitoring rules to alert on outbound connections from Caldera servers to unusual destinations
  • Use file integrity monitoring on Caldera installation directories to detect unauthorized modifications

Monitoring Recommendations

  • Enable verbose logging on Caldera server API endpoints and review compilation request parameters regularly
  • Configure SIEM rules to correlate Caldera API access with process creation events on the host
  • Implement egress filtering and monitoring for Caldera server hosts to detect potential reverse shell connections
  • Establish baseline behavior for Caldera server processes and alert on deviations

How to Mitigate CVE-2025-27364

Immediate Actions Required

  • Update MITRE Caldera to version 5.0.0 with commit 35bc06e or later immediately
  • If immediate patching is not possible, restrict network access to Caldera servers to trusted IP addresses only
  • Review Caldera server logs for evidence of exploitation attempts targeting agent compilation endpoints
  • Implement web application firewall rules to block requests containing suspicious linker flag patterns

Patch Information

MITRE has addressed this vulnerability in commit 35bc06e42e19fe7efbc008999b9f993b1b7109c0. Organizations should update to the patched version immediately. The fix implements proper input validation and sanitization of user-supplied parameters before they are passed to the compilation process.

For detailed patch information, refer to:

  • GitHub Commit Record
  • GitHub Pull Request #3129
  • GitHub Pull Request #3131
  • Medium Security Advisory

Workarounds

  • Disable dynamic agent compilation functionality if not required for operations
  • Place Caldera servers behind a reverse proxy with strict input validation rules blocking shell metacharacters in API parameters
  • Restrict access to agent compilation endpoints to authenticated and authorized users only via network segmentation
  • Run Caldera in a containerized environment with restricted capabilities and network egress controls
bash
# Example: Restrict network access to Caldera server using iptables
# Allow only trusted management IP ranges
iptables -A INPUT -p tcp --dport 8888 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 8888 -j DROP

# Alternative: Disable agent compilation by restricting plugin access
# Review and modify caldera/conf/local.yml to limit exposed functionality

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechCaldera

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability3.04%

  • 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-78
  • Technical References
  • GitHub Commit Record

  • GitHub Pull Request #3129

  • GitHub Commit Changes for PR #3131

  • GitHub Release Notes

  • GitHub Security Overview

  • Medium Security Advisory CVE-2025-27364
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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