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-54074

CVE-2025-54074: Cherry Studio RCE Vulnerability

CVE-2025-54074 is a remote code execution vulnerability in Cherry Studio that allows OS command injection via malicious MCP servers. This article covers the technical details, affected versions 1.2.5-1.5.1, and mitigation.

Published: March 11, 2026

CVE-2025-54074 Overview

Cherry Studio, a popular desktop client supporting multiple Large Language Model (LLM) providers, contains an OS Command Injection vulnerability in versions 1.2.5 through 1.5.1. The vulnerability is exploitable when a user connects to a malicious Model Context Protocol (MCP) server operating in HTTP Streamable mode. Attackers can configure a rogue MCP server with compatible OAuth authorization server endpoints and trick victims into connecting to it, resulting in arbitrary OS command execution on the victim's system.

Critical Impact

Attackers can achieve full remote code execution on systems running vulnerable Cherry Studio versions by luring users to connect to a malicious MCP server, potentially leading to complete system compromise.

Affected Products

  • Cherry Studio versions 1.2.5 through 1.5.1
  • cherry-ai cherry_studio desktop client
  • Systems using Cherry Studio MCP server connections in HTTP Streamable mode

Discovery Timeline

  • August 13, 2025 - CVE-2025-54074 published to NVD
  • December 02, 2025 - Last updated in NVD database

Technical Details for CVE-2025-54074

Vulnerability Analysis

This vulnerability falls under CWE-78 (Improper Neutralization of Special Elements used in an OS Command), commonly known as OS Command Injection. The flaw exists in how Cherry Studio processes data received from MCP servers when operating in HTTP Streamable mode.

When a user establishes a connection to an MCP server, the application fails to properly sanitize inputs received during the OAuth authorization flow. A malicious actor can craft server responses containing embedded OS commands that are then executed by the Cherry Studio client with the privileges of the running user.

The attack requires user interaction—specifically, the victim must be socially engineered into connecting their Cherry Studio client to an attacker-controlled MCP server. However, once this connection is established, command execution occurs automatically without further user interaction.

Root Cause

The root cause is insufficient input validation and sanitization of data received from MCP server endpoints during the OAuth authorization process. The application trusts and processes server-supplied data without adequately filtering or escaping shell metacharacters, allowing command injection payloads to be executed by the underlying operating system.

Attack Vector

The attack leverages network connectivity to exploit the vulnerability. An attacker must:

  1. Set up a malicious MCP server with crafted OAuth authorization endpoints
  2. Convince the victim to connect their Cherry Studio client to this server (via phishing, social engineering, or other means)
  3. When the victim initiates the connection, the malicious server responds with payloads containing injected OS commands
  4. Cherry Studio processes these responses without proper sanitization, executing the embedded commands on the victim's system

The vulnerability is exploited over the network and requires the victim to take an active step (connecting to the malicious server), but no authentication is required from the attacker's perspective.

Detection Methods for CVE-2025-54074

Indicators of Compromise

  • Unusual outbound network connections from Cherry Studio to unknown or suspicious MCP server endpoints
  • Unexpected child processes spawned by the Cherry Studio application
  • System command execution patterns inconsistent with normal Cherry Studio operation
  • OAuth authorization requests to untrusted or unfamiliar server domains

Detection Strategies

  • Monitor process trees for Cherry Studio spawning shell processes (cmd.exe, powershell.exe, /bin/sh, /bin/bash)
  • Implement network monitoring to detect connections to non-whitelisted MCP servers
  • Deploy endpoint detection rules to identify command injection patterns in application behavior
  • Review application logs for suspicious OAuth authorization attempts or malformed server responses

Monitoring Recommendations

  • Enable verbose logging for Cherry Studio MCP server connections
  • Configure SIEM alerts for command execution anomalies associated with desktop LLM clients
  • Implement DNS monitoring to detect connections to newly registered or suspicious domains
  • Deploy application allowlisting to restrict which MCP servers users can connect to

How to Mitigate CVE-2025-54074

Immediate Actions Required

  • Upgrade Cherry Studio to version 1.5.2 or later immediately
  • Audit existing MCP server connections and remove any untrusted or suspicious entries
  • Educate users about the risks of connecting to unknown or untrusted MCP servers
  • Consider temporarily restricting MCP server connections until the patch is applied

Patch Information

Cherry-ai has released version 1.5.2 which addresses this vulnerability. The fix is available in commit 40f9601379150854826ff3572ef7372fb0acdc38. Organizations should update all Cherry Studio installations to the patched version as soon as possible.

For detailed patch information, refer to the GitHub Security Advisory GHSA-8xr5-732g-84px and the GitHub Commit Update.

Workarounds

  • Restrict Cherry Studio network access to only known, trusted MCP servers via firewall rules
  • Disable HTTP Streamable mode for MCP connections if the feature is not required
  • Implement network segmentation to limit the impact of potential exploitation
  • Run Cherry Studio with minimal user privileges to reduce the impact of successful exploitation
bash
# Configuration example
# Restrict Cherry Studio to only connect to trusted MCP servers
# Add to host firewall rules (example for Linux iptables)
iptables -A OUTPUT -p tcp --dport 443 -m owner --uid-owner cherry-studio -d trusted-mcp-server.example.com -j ACCEPT
iptables -A OUTPUT -p tcp --dport 443 -m owner --uid-owner cherry-studio -j DROP

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechCherry Studio

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability1.55%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/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
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-8xr5-732g-84px
  • Related CVEs
  • CVE-2025-61929: Cherry Studio Custom Protocol RCE Flaw

  • CVE-2025-54382: Cherry Studio 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