Remote code execution via privileged search window
Published Jul 15, 2026 · Updated Jul 15, 2026
Remote code execution in SearchService in CherryHQ Cherry Studio 1.2.2 through 1.9.12 allows remote attackers to run code through search content. SearchService loads provider pages and search results into an Electron BrowserWindow with Node.js integration enabled and context isolation disabled, granting page JavaScript access to Node.js APIs. Exploitation requires a user to initiate a search or open provider settings; malicious page code then runs as the Cherry Studio process and can execute commands or read and modify user-accessible files.
Summary
What happened
Remote code execution in SearchService in CherryHQ Cherry Studio 1.2.2 through 1.9.12 allows remote attackers to run code through search content. SearchService loads provider pages and search results into an Electron BrowserWindow with Node.js integration enabled and context isolation disabled, granting page JavaScript access to Node.js APIs. Exploitation requires a user to initiate a search or open provider settings; malicious page code then runs as the Cherry Studio process and can execute commands or read and modify user-accessible files.
The record
- CVE
- CVE-2026-40501
- Published
- Jul 15, 2026
- Updated
- Jul 15, 2026
- Vendor
- CherryHQ
- Product
- Cherry Studio
- Classifications
- CWE-829, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 15, 2026CVE publishedPublication date reported by the CVE source.
- Jul 15, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.2.2 <=1.9.12
- Affected versionversion=f9c6bddae5b91cc50872c76e791105fa219d0d34 <=151853035e8e417a51559ebfc243eda98361a882
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Cherry Studio Node.js integration marker-file proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo