Skip to main content

Cherry Studio CVE-2026-40501

| EUVDEUVD-2026-44747 HIGH
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2026-07-15 VulnCheck GHSA-5c46-rj6r-wvm8
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker controls search provider or result page
  2. Delivery
    Victim loads content via SearchService search
  3. Exploit
    Malicious JS runs in nodeIntegration BrowserWindow
  4. Execution
    require('child_process') executes commands
  5. Impact
    Access fs/os/process.env as user account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
Exploitation Conditions

Exploitation requires that the victim use Cherry Studio's search feature such that attacker-controlled content is loaded - specifically a search engine provider, individual search result page, or provider settings page under the attacker's control - and requires user interaction (UI:A) to engage that content. The enabling precondition is the vulnerable Electron configuration in SearchService: a BrowserWindow with nodeIntegration enabled and contextIsolation disabled, present by default in versions 1.2.2-1.9.12. No authentication is required (PR:N). Limiting factors: the attacker must first get the victim to load or configure the malicious provider/result/settings content, and the target must be running an unpatched version (before fix commit 1518530); code executes only with the privileges of the OS account running Cherry Studio, not elevated.

Impact

The CVSS 4.0 base score of 8.6 (AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H) reflects a network-reachable, low-complexity, unauthenticated flaw with high confidentiality, integrity and availability impact, gated only by user interaction (UI:A) - a victim must engage with attacker-influenced search content. Publicly available exploit code raises practical risk and lowers the barrier to weaponization, but the absence of a CISA KEV listing means active in-the-wild exploitation is not confirmed; EPSS was not provided in the input. SC:N/SI:N/SA:N indicate no formal scope change to a separate system, though impact to the host account is total. Net assessment: this is a genuine high-priority issue for Cherry Studio users because a working POC exists and full RCE is achievable, but exploitation is not fully automatable - it depends on luring a user into attacker-controlled search provider content rather than a purely remote unauthenticated drive-by.

Exploit ScenarioDerived

An attacker sets up or compromises a search engine provider (or a search result/settings page) that a Cherry Studio user configures or visits, then serves a page containing malicious JavaScript. When the SearchService loads that content into the nodeIntegration-enabled BrowserWindow and the user interacts with the search feature, the script calls require('child_process') to run commands and read process.env, achieving code execution as the local user. A public POC demonstrating this chain is available on GitHub (Mundi-Xu gist).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 15, 2026

Remote code execution in Cherry Studio 1.2.2 through 1.9.12 lets attackers who control search-provider content run arbitrary Node.js code because the SearchService loads that content into an Electron BrowserWindow with nodeIntegration enabled and contextIsolation disabled. An attacker controlling a search engine provider, search result page, or provider settings page can execute JavaScript with full Node.js privileges under the OS account running the app. Publicly available exploit code exists (VulnCheck/Mundi-Xu gist) and a vendor patch (commit 1518530) is available; the flaw is not currently listed in CISA KEV.

RemediationAI

Upgrade to a Cherry Studio build that includes the fix commit 151853035e8e417a51559ebfc243eda98361a882 (Upstream fix available via commit; the patched release tag is not independently confirmed from the provided data, so verify the exact released version against the vendor's release notes before deploying). The root cause is an insecure Electron BrowserWindow configuration, so the durable fix is to load search-provider content with nodeIntegration disabled and contextIsolation enabled behind a preload bridge. Until patched, restrict exposure by not adding or using untrusted custom search engine providers, avoiding attacker-supplied provider/settings URLs, and treating the built-in web search feature as untrusted; note the trade-off that disabling or limiting the search feature reduces functionality. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/cherry-studio-rce-via-searchservice-nodeintegration-misconfiguration) for details.

Affected VersionsENISA

cherry-studio 1.2.2 ≤1.9.12
cherry-studio f9c6bddae5b91cc50872c76e791105fa219d0d34 ≤151853035e8e417a51559ebfc243eda98361a882

Affected Packages

euvd cherry_studio no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Cherry Studio is an Electron-based desktop AI client (cpe:2.3:a:cherryhq:cherry-studio). Electron renders web content in Chromium BrowserWindows; when a window is created with nodeIntegration:true and contextIsolation:false, JavaScript running in that renderer has direct access to Node.js primitives (require, process, module) with no security boundary between untrusted page content and the main-process runtime. This maps to CWE-829 (Inclusion of Functionality from an Untrusted Control Sphere): the SearchService pulls externally controlled provider/result/settings content into a privileged execution context. Any script in that page can therefore reach fs, child_process, os, and process.env, enabling file read/write, command execution, and secret exfiltration under the Cherry Studio process account.

Know when Cherry Studio gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Network-delivered via untrusted search content with no auth (PR:N) but requires the victim to interact with it (UI:R); full host-account compromise gives C/I/A:H.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Cherry Studio versions 1.2.2 through 1.9.12, fixed in commit 1518530, contain a remote code execution vulnerability in SearchService that allows remote attackers to execute arbitrary code by delivering malicious JavaScript through controlled search provider content loaded into an Electron BrowserWindow configured with nodeIntegration enabled and contextIsolation disabled. Attackers who control a search engine provider, individual search result pages, or provider settings pages can execute JavaScript with full Node.js privileges, gaining access to fs, child_process, os, and process.env under the operating-system account of the Cherry Studio process.

Executive ViewAI

Why It Matters

Cherry Studio versions 1.2.2 through 1.9.12 contain a remote code execution vulnerability (CVSS 8.6) that allows attackers controlling search provider content to execute arbitrary code with full OS-level privileges. Any organization using Cherry Studio faces potential system compromise if configured to use a malicious or compromised search provider.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigation: restrict search functionality or limit to internal, verified search providers only until full patching is complete.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Low
Open-source desktop AI client, niche consumer footprint, not enterprise-standard
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

63
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy