CVE-2026-40501: Inclusion of Functionality from Untrusted Control Sphere in CherryHQ cherry-studio
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.
AI Analysis
Technical Summary
CVE-2026-40501 is a remote code execution vulnerability affecting Cherry Studio versions 1.2.2 through 1.9.12. The vulnerability arises from the SearchService loading search provider content into an Electron BrowserWindow configured insecurely with nodeIntegration enabled and contextIsolation disabled. Attackers controlling a search engine provider, search result pages, or provider settings can inject malicious JavaScript that executes with full Node.js privileges, allowing access to sensitive Node.js modules such as fs, child_process, os, and process.env. This enables execution of arbitrary code under the OS account of the Cherry Studio process. The vulnerability is fixed in commit 1518530, but no official patch or advisory details are provided in the input data.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary code with full Node.js privileges on the host running Cherry Studio. This includes access to filesystem operations, process control, environment variables, and other OS-level capabilities, potentially leading to full system compromise under the affected user account.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability is fixed in commit 1518530, so applying the update containing this commit is recommended once available. Until patched, avoid using untrusted search providers or content within Cherry Studio and consider disabling nodeIntegration or enabling contextIsolation in Electron BrowserWindow configurations if configurable.
CVE-2026-40501: Inclusion of Functionality from Untrusted Control Sphere in CherryHQ cherry-studio
Description
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.
CVSS v4.0
Score 8.6high
Affected software
pkg:github/cherry-studioRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40501 is a remote code execution vulnerability affecting Cherry Studio versions 1.2.2 through 1.9.12. The vulnerability arises from the SearchService loading search provider content into an Electron BrowserWindow configured insecurely with nodeIntegration enabled and contextIsolation disabled. Attackers controlling a search engine provider, search result pages, or provider settings can inject malicious JavaScript that executes with full Node.js privileges, allowing access to sensitive Node.js modules such as fs, child_process, os, and process.env. This enables execution of arbitrary code under the OS account of the Cherry Studio process. The vulnerability is fixed in commit 1518530, but no official patch or advisory details are provided in the input data.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary code with full Node.js privileges on the host running Cherry Studio. This includes access to filesystem operations, process control, environment variables, and other OS-level capabilities, potentially leading to full system compromise under the affected user account.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability is fixed in commit 1518530, so applying the update containing this commit is recommended once available. Until patched, avoid using untrusted search providers or content within Cherry Studio and consider disabling nodeIntegration or enabling contextIsolation in Electron BrowserWindow configurations if configurable.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-13T20:29:02.808Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a57cb6968715ace432ccb3d
Added to database: 07/15/2026, 18:03:21 UTC
Last enriched: 07/30/2026, 00:36:26 UTC
Last updated: 08/28/2026, 22:52:10 UTC
Views: 128
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.