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.
Published: 2026-07-15
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Cherry Studio includes a SearchService that loads content from search providers into an Electron BrowserWindow with nodeIntegration enabled and contextIsolation disabled. This configuration allows malicious JavaScript injected by a compromised search engine or result page to run with full Node.js privileges, giving the attacker access to filesystem APIs, child process execution, operating‑system calls, and environment variables under the Cherry Studio process account. The weakness is a CWE‑829 external resource manipulation, enabling attackers to execute arbitrary code.

Affected Systems

Version 1.2.2 through 1.9.12 of CherryHQ:cherry-studio are affected. All installations using these releases deploy the vulnerable SearchService and are susceptible to the described remote code execution flaw.

Risk and Exploitability

The CVSS score of 8.6 indicates high severity. EPSS is less than 1 %, suggesting that exploitation attempts are unlikely. Attackers must control a search provider, individual result pages, or provider settings pages to inject malicious JavaScript. Once injected, the compromised BrowserWindow runs the code with full Node.js privileges, enabling arbitrary system command execution under the Cherry Studio process account.

Generated by OpenCVE AI on August 1, 2026 at 08:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the patch from commit 151853035e8e417a51559ebfc243eda98361a882 or upgrade Cherry Studio to a version newer than 1.9.12.
  • Disable nodeIntegration on all BrowserWindow instances or enable contextIsolation to prevent untrusted JavaScript from accessing Node.js APIs.
  • Remove or block external search providers that can inject content, limiting the software to trusted or internal providers only.
  • Monitor runtime logs for unexpected process creation or file system access that may indicate an exploitation attempt.

Generated by OpenCVE AI on August 1, 2026 at 08:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 02:30:00 +0000

Type Values Removed Values Added
First Time appeared Cherry-ai
Cherry-ai cherry Studio
CPEs cpe:2.3:a:cherry-ai:cherry_studio:*:*:*:*:*:*:*:*
Vendors & Products Cherry-ai
Cherry-ai cherry Studio

Wed, 15 Jul 2026 22:30:00 +0000

Type Values Removed Values Added
First Time appeared Cherryhq
Cherryhq cherry-studio
Vendors & Products Cherryhq
Cherryhq cherry-studio

Wed, 15 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 15 Jul 2026 18:00:00 +0000

Type Values Removed Values Added
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.
Title Cherry Studio RCE via SearchService nodeIntegration Misconfiguration
Weaknesses CWE-829
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.6, 'vector': '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'}


Subscriptions

Cherry-ai Cherry Studio
Cherryhq Cherry-studio
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T01:48:46.978Z

Reserved: 2026-04-13T20:29:02.808Z

Link: CVE-2026-40501

cve-icon Vulnrichment

Updated: 2026-07-15T18:09:21.903Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T09:00:04Z

Weaknesses
  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere