CVE-2026-13524

CherryHQ cherry-studio MCP OAuth Local Callback Server callback.ts improper authorization

Published Jun 29, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
A security vulnerability has been detected in CherryHQ cherry-studio up to 1.9.6. This vulnerability affects unknown code of the file src/main/services/mcp/oauth/callback.ts of the component MCP OAuth Local Callback Server. The manipulation of the argument code leads to improper authorization. The attack can be initiated remotely. The attack is considered to have high complexity. It is stated that the exploitability is difficult. The exploit has been disclosed publicly and may be used. The pull request to fix this issue awaits acceptance.

Analysis

AI-generated

Technical impact

This vulnerability arises from improper handling of the 'code' argument in the MCP OAuth Local Callback Server endpoint of CherryHQ cherry-studio. Manipulating the argument enables an attacker to bypass normal authorization checks, granting unauthorized access to protected resources and potentially exposing sensitive information or enabling further malicious actions. The weakness is a classic example of improper authorization (CWE-266/CWE-285).

Affected Systems

Vulnerable versions are cherry-studio 1.9.6 and earlier. The issue resides in src/main/services/mcp/oauth/callback.ts. Systems running these versions are at risk; newer releases or patched code are not affected.

Risk and Exploitability

The vulnerability scores a CVSS of 6.3, reflecting moderately high severity. EPSS data is unavailable, so the current exploitation probability cannot be precisely quantified, but the public disclosure and the existence of a remote attack vector raise concern. No listing in CISA KEV indicates no known large-scale exploit, yet the high complexity and difficulty of exploitation suggest that attacks would require specialized knowledge. Administrators should treat it as a medium threat until an official fix is released.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade cherry-studio to a version that includes the MCP OAuth Local Callback Server fix once the pull request is merged and released.
  • If an upgrade is not immediately possible, disable or restrict access to the MCP OAuth Local Callback Server endpoint to prevent remote exploitation.
  • Implement additional request validation on the 'code' parameter to enforce strict formatting and origin checks, reducing the risk of manipulation.
  • Monitor authentication logs for anomalous callback activity and apply security hardening measures such as rate limiting or IP whitelisting.

Generated by OpenCVE AI on June 29, 2026 at 03:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description A security vulnerability has been detected in CherryHQ cherry-studio up to 1.9.6. This vulnerability affects unknown code of the file src/main/services/mcp/oauth/callback.ts of the component MCP OAuth Local Callback Server. The manipulation of the argument code leads to improper authorization. The attack can be initiated remotely. The attack is considered to have high complexity. It is stated that the exploitability is difficult. The exploit has been disclosed publicly and may be used. The pull request to fix this issue awaits acceptance.
Title CherryHQ cherry-studio MCP OAuth Local Callback Server callback.ts improper authorization
First Time appeared Cherryhq
Cherryhq cherry-studio
Weaknesses CWE-266
CWE-285
CPEs cpe:2.3:a:cherryhq:cherry-studio:*:*:*:*:*:*:*:*
Vendors & Products Cherryhq
Cherryhq cherry-studio
References
Metrics cvssV2_0

{'score': 5.1, 'vector': 'AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 5.6, 'vector': 'CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

  • CWE-285

    Improper Authorization

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jun 30, 2026, 5:25 PM
Reserved
Jun 28, 2026, 7:50 AM
Status
Deferred
Published
Jun 29, 2026, 3:16 AM
Modified
Oct 25, 2026, 5:10 PM