CVE-2026-40501
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.
Weakness
- CWE-829: Inclusion of Functionality from Untrusted Control Sphere
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-07-15 |
Timeline
- 2026-07-15Published by the CNA17:41 UTC
- 2026-07-15CISA SSVC decision recordedsame day
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| cherry-ai cherry_studio | from 1.2.2 through 1.9.12no fix listed | not listed |
| cherryhq cherry-studio | from 1.2.2 through 1.9.12no fix listed | not listed |
References
- https://github.com/CherryHQ/cherry-studio/commit/151853035e8e417a51559ebfc243eda98361a882
- https://gist.github.com/Mundi-Xu/99af1b08275fd437cfb79bfe481e68b7
- https://www.vulncheck.com/advisories/cherry-studio-rce-via-searchservice-nodeintegration-misconfiguration
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-40501'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-40501'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-40501'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-40501'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).