MEDIUM 5.0

CVE-2026-13534: Authorization Bypass in CherryHQ cherry-studio Memory Service

CherryHQ's cherry-studio application versions up to 1.9.7 contain an authorization bypass vulnerability in its CherryIN Preload API memory service. An authenticated attacker with local or remote access can manipulate a state parameter to bypass authorization controls and access unauthorized data or perform restricted actions. The vulnerability requires high technical complexity to exploit and is rated CVSS 5.0 (Medium). A public exploit exists, elevating practical risk for deployed instances.

Source data · NVD / CISA · public domain

CVSS
3.1 · 5.0 MEDIUM · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Weaknesses (CWE)
CWE-285, CWE-639
Affected products
0 configuration(s)
Published / Modified
2026-06-29 / 2026-06-29

NVD description (verbatim)

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."

7 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-13534 affects the sha256 function within src/main/services/memory/MemoryService.ts in cherry-studio up to version 1.9.7. The CherryIN Preload API fails to properly validate the state argument, allowing manipulation that circumvents authorization checks tied to CWE-285 (Improper Authorization) and CWE-639 (Authorization Bypass Through User-Controlled Key). Network-accessible, though exploitation requires an authenticated session (PR:L) and high attack complexity (AC:H). The vulnerability results in confidentiality, integrity, and availability impacts within the security context of the affected user.

Business impact

Compromise of cherry-studio deployments enables unauthorized data access and potential lateral privilege escalation within environments relying on the memory service for session or state management. Since the vendor has indicated memory functionality will be removed in version 2, organizations should treat this as a transitional risk requiring immediate attention before deprecation timelines are announced. Exposure is likely limited to organizations using CherryHQ's development or studio tooling.

Affected systems

CherryHQ cherry-studio versions 1.9.7 and earlier are vulnerable. The CherryIN Preload API is the attack surface. Systems must be running an affected version and expose the memory service to an authenticated user—either through direct network access or local system compromise. Verify your deployed version against vendor release notes.

Exploitability

Public exploit code is available, but successful exploitation requires high attack complexity and prior authentication (login credentials or valid session). An attacker must understand the state parameter structure and crafting to bypass authorization logic. While the bar is higher than a simple unauthenticated remote code execution, the combination of public exploit code and known attack pattern makes this a practical concern for security teams managing cherry-studio instances in shared or adversarial environments.

Remediation

Upgrade cherry-studio to a version beyond 1.9.7 as soon as a patched release is available. Consult CherryHQ's official advisory for patch availability and version recommendations. If immediate patching is not feasible, restrict network access to the CherryIN Preload API and disable memory service features if they are not operationally critical. Monitor for exploitation attempts and audit memory service access logs for anomalies.

Patch guidance

Check CherryHQ's official release notes and security advisories for a patched version addressing CVE-2026-13534. Apply patches during a maintenance window to mitigate authorization bypass risk. Because the vendor plans to remove the memory service in version 2, consider upgrading to that major version as part of a longer-term remediation strategy. Test patches in a staging environment before production deployment to ensure compatibility with your workflow.

Detection guidance

Monitor CherryIN Preload API logs for state parameter manipulation attempts, unusual authorization denials followed by successful access, and rapid state enumeration patterns. Network detection: look for repeated requests to memory service endpoints with varying state values. Endpoint detection: flag process execution or file access anomalies following authenticated sessions to cherry-studio. Correlate authentication logs with memory service access to identify suspicious correlations. Consider deploying Web Application Firewall rules to detect malformed or anomalous state parameters.

Why prioritize this

Although CVSS 5.0 is classified as Medium, the combination of public exploit availability, remote attack vector, and authorization bypass in a development/collaboration tool warrants accelerated attention. Developers and administrators using cherry-studio should treat this as a near-term patching priority, especially in multi-user environments. The vendor's deprecation plan for memory in v2 provides a clear long-term path but does not reduce immediate risk.

Risk score, explained

CVSS 3.1 score of 5.0 reflects a Medium severity baseline: network-accessible (AV:N), high attack complexity (AC:H), requiring authentication (PR:L), with confidentiality, integrity, and availability impacts limited to the user's security context. The availability of public exploit code and the sensitive nature of authorization bypass elevate operational risk beyond the base score, justifying prioritized patching despite the Medium rating.

Frequently asked questions

Do I need credentials to exploit this vulnerability?

Yes. The CVSS vector indicates PR:L (Privileged or Low-context required), meaning an attacker must be authenticated or have a valid session to cherry-studio. Unauthenticated, external exploitation is not possible.

What is the vendor's long-term plan for this vulnerability?

CherryHQ has announced that memory functionality will be removed in version 2. This indicates the vulnerability will be permanently eliminated in the next major release. However, users on 1.9.7 and earlier should patch immediately or plan an upgrade to v2 within a defined timeframe.

Can this vulnerability be exploited to gain remote code execution?

No. CVE-2026-13534 is an authorization bypass that allows an authenticated attacker to access data or perform actions they should not be permitted to. It does not directly enable remote code execution, but could be chained with other vulnerabilities or misconfigurations.

Is this vulnerability likely to be exploited in the wild?

The existence of public exploit code increases the risk of exploitation, particularly in environments where cherry-studio is used in collaborative or multi-user settings. However, the high attack complexity and authentication requirement limit the immediate threat to organizations with proper access controls and monitoring.

This analysis is based on vendor-supplied information and public disclosures as of the publication date. Security teams should verify all patch versions and affected product information against CherryHQ's official security advisories before deploying patches. No proof-of-concept or weaponized exploit code is provided in this analysis. Organizations must conduct their own risk assessment based on deployment scale and sensitivity. SEC.co makes no warranty regarding the accuracy or completeness of this intelligence and recommends consulting official vendor documentation for definitive guidance. Source: NVD (public-domain), retrieved 2026-08-07. Analysis generated by SEC.co (claude-haiku-4-5).