Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Cherry Studio with low-privilege credentials
-
DeliveryIdentify or infer target user's stored memory content
-
ExploitCraft memory payload producing matching SHA-256 hash
-
ExecutionSubmit crafted payload via CherryIN Preload API
-
PersistMemoryService resolves hash to target user's record without user-scope check
-
ImpactAccess or overwrite target user's memory entries
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Exploitation requires: (1) a valid authenticated session with at least low-privilege access to Cherry Studio (PR:L per CVSS - unauthenticated exploitation is not possible); (2) the memory feature must be active and in use, as the vulnerable MemoryService code path is only exercised when memory operations are performed; (3) high attack complexity (AC:H) - the attacker must craft a memory string whose SHA-256 output collides with a target user's existing memory hash, which is computationally non-trivial without additional information about target content; (4) network access to the CherryIN Preload API endpoint. Exploitation is limited by the hash collision requirement, the need for a valid session, and the niche deployment context. No special platform or OS configuration is required beyond default Cherry Studio operation with the memory feature enabled. |
| Impact | The CVSS 4.0 score of 2.3 (AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P) accurately reflects a narrow, real-world risk. Network delivery is possible but exploitation complexity is rated High, meaning an attacker must engineer a specific memory string whose SHA-256 hash collides with a target user's existing stored entry - a non-trivial prerequisite. Authentication at a low-privilege level is required (PR:L), ruling out unauthenticated mass exploitation. Impact is limited to Low across all three confidentiality, integrity, and availability dimensions (VC:L/VI:L/VA:L) with no subsequent-system effect (SC:N/SI:N/SA:N). The E:P modifier confirms a public exploit reference exists (GitHub issue #15411), elevating urgency beyond the raw score for multi-user or shared Cherry Studio deployments. This vulnerability is not listed in the CISA KEV catalog. No EPSS score was provided, but given the niche product footprint and high attack complexity, opportunistic at-scale exploitation is unlikely. The primary risk is targeted abuse within multi-tenant or shared Cherry Studio environments where user memory isolation is a trust boundary. |
| Exploit ScenarioDerived | An authenticated low-privileged user of a shared or multi-user Cherry Studio deployment crafts a memory payload whose SHA-256 hash collides with a stored memory entry belonging to another user or agent scope. Because the original hash was computed without user or agent binding, the MemoryService's existence check returns the target user's record, bypassing per-user authorization. A public proof-of-concept demonstrating this is referenced at https://github.com/CherryHQ/cherry-studio/issues/15411. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 29, 2026
Authorization bypass in CherryHQ Cherry Studio up to version 1.9.7 allows authenticated remote attackers to cross user/agent memory isolation boundaries by manipulating memory content to produce SHA-256 hash collisions in the MemoryService deduplication logic. The vulnerable CherryIN Preload API component computed memory hashes solely from content, without scoping them to userId or agentId, enabling crafted inputs to match records belonging to other users. A public exploit exists per GitHub issue #15411, and a vendor patch is available via PR #15413; the vendor notes the memory feature is slated for removal in v2.
RemediationAI
A patch is available as GitHub Pull Request #15413 (https://github.com/CherryHQ/cherry-studio/pull/15413), which scopes the SHA-256 deduplication hash to incorporate userId, agentId, and a schema version constant. Users should upgrade to a Cherry Studio release that incorporates this fix; no exact patched release version is independently confirmed from available data - verify the fix is present in the installed version before considering the system remediated. As a compensating control when immediate upgrade is not feasible, disabling the memory feature entirely within Cherry Studio's settings eliminates the vulnerable code path; the trade-off is loss of memory-assisted conversational context. The vendor has publicly stated that the memory feature is planned for removal in v2, so the long-term surface is inherently bounded.
Affected VersionsENISA
Affected Packages
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 AI desktop client. The affected component is MemoryService.ts within the application's main process, exposed via the CherryIN Preload API. The deduplication logic originally computed the SHA-256 hash over only the trimmed memory string (crypto.createHash('sha256').update(trimmedMemory).digest('hex')), with no binding to the authenticated user's userId or agentId. This is a textbook CWE-639 (Authorization Bypass Through User-Controlled Key) flaw: the key used to look up and gate records is derived from user-controlled data without incorporating an authoritative, non-forgeable user scope. The PR diff at https://github.com/CherryHQ/cherry-studio/pull/15413 confirms the fix adds userId, agentId, and a schema version constant to the hashed payload, making each hash cryptographically scoped to its owner. CPE coverage is broad: cpe:2.3:a:cherryhq:cherry-studio:*:*:*:*:*:*:*:* covering all versions through 1.9.7.
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
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable API delivery (AV:N), requires crafting a hash-colliding payload (AC:H), valid authenticated session needed (PR:L); no scope change or availability impact observed.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability was detected in CherryHQ cherry-studio up to 1.9.7. This affects the function sha256 of the file src/main/services/memory/MemoryService.ts of the component CherryIN Preload API. Performing a manipulation of the argument state results in authorization bypass. The attack can be initiated remotely. The attack's complexity is rated as high. It is indicated that the exploitability is difficult. The exploit is now public and may be used. The vendor explains, that "[m]emory is planned to be removed in v2 version."
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Related Vulnerabilities in CherryHQ cherry-studio Authorization and Access Control Flaws
View all 2More in Cherry Studio
View allRemote code execution in Cherry Studio allows unauthenticated attackers to run arbitrary commands on a victim's system w
Remote code execution in Cherry Studio 1.2.2 through 1.9.12 lets attackers who control search-provider content run arbit
Cherry Studio is a desktop client that supports for multiple LLM providers. Rated critical severity (CVSS 9.6), this vul
Cherry Studio is a desktop client that supports for multiple LLM providers. Rated high severity (CVSS 7.7), this vulnera
Cherry Studio is a desktop client that supports for multiple LLM providers. Rated high severity (CVSS 8.0), this vulnera
EUVD-2026-40031
GHSA-qwwm-4xhq-q4m4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB