Skip to main content

Cherry Studio EUVDEUVD-2026-40021

| CVE-2026-13524 LOW
Improper Authorization (CWE-285)
2026-06-29 VulDB GHSA-9c5h-h4mj-p5ch
2.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Victim initiates MCP OAuth authentication flow
  2. Delivery
    Local callback server starts on dynamic port
  3. Exploit
    Attacker discovers or guesses callback port
  4. Execution
    Attacker sends forged callback with malicious code and no state parameter
  5. Persist
    Unpatched server accepts code without state validation
  6. Impact
    Attacker-controlled authorization code processed as legitimate

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Cherry Studio must be running and the victim user must have actively initiated an MCP OAuth authentication flow - this starts the local callback server that is the attack surface. The attacker must be able to reach the local callback server with an HTTP request during the window the flow is in-flight; network reachability of the callback server depends on whether it binds to 0.0.0.0 (network-accessible) or 127.0.0.1 (localhost only) - this binding behavior is not confirmed from available data and materially affects exploitability. Exploitation is further limited by a race condition: the injected request must arrive and be processed before the legitimate authorization server redirect delivers the real code and state. Users who do not use MCP servers requiring OAuth are not affected; the vulnerability is inert unless an OAuth flow is actively in progress.

Impact

The CVSS 4.0 score of 6.3 (Medium) with AV:N/AC:H/PR:N/UI:N reflects meaningful operational complexity - successful exploitation requires the attacker to race the legitimate OAuth callback during the narrow window the victim's OAuth flow is in-flight, while also knowing or discovering the dynamically assigned local callback port. Impact metrics VC:L/VI:L/VA:L indicate bounded consequences: a successful injection substitutes an attacker-controlled authorization code for the victim's, potentially granting the attacker access to whatever OAuth-protected MCP service the victim was configuring. The E:P modifier confirms publicly available exploit code (GitHub issue #15372), which elevates practical risk above theoretical. No EPSS score was provided in the input data. The absence of a CISA KEV listing indicates no confirmed widespread exploitation. AC:H is the dominant risk-limiting factor; this is not a fire-and-forget, mass-exploitation scenario. Real-world risk is moderate for users actively using OAuth-backed MCP integrations and low for those who do not.

Exploit ScenarioDerived

A user running Cherry Studio initiates an OAuth authentication flow for an MCP server integration, causing the application to start a local HTTP callback server on a dynamically assigned port without binding it exclusively to loopback. An attacker on the same network who discovers or brute-forces the callback port sends a forged HTTP GET request to the callback path with a crafted code parameter and no valid state, which the unpatched server accepts and forwards as a legitimate authorization code. A public proof-of-concept demonstrating this technique is available via GitHub issue #15372.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 29, 2026

Cherry Studio's MCP OAuth Local Callback Server, in all versions up to 1.9.6, accepts OAuth authorization code callbacks without validating the OAuth state parameter, enabling authorization code injection attacks. The PR diff confirms that src/main/services/mcp/oauth/callback.ts processed any inbound code value without checking a bound state token, allowing a network-positioned attacker to substitute a malicious authorization code during an active OAuth flow. A public exploit has been disclosed via GitHub issue #15372; no confirmed patched release exists - only an unmerged fix PR (#15388) - and no active exploitation has been confirmed (not in CISA KEV).

RemediationAI

The primary fix is the upstream patch in GitHub PR #15388 (https://github.com/CherryHQ/cherry-studio/pull/15388), which adds OAuth state validation to the local callback server. No officially released patched version has been confirmed - the PR awaited acceptance at time of analysis. Users building from source should cherry-pick the changes to MCPService.ts that pass expectedState from the auth provider to the callback handler and call authProvider.clearExpectedState() after use. Monitor the Cherry Studio releases page at https://github.com/CherryHQ/cherry-studio for a version beyond 1.9.6 that incorporates this fix. As a compensating control, avoid initiating MCP OAuth flows on untrusted or shared networks, reducing the window for a network-based race-condition injection. Disabling MCP integrations that require OAuth entirely eliminates all exposure until a patched release is available, at the cost of losing OAuth-protected MCP server functionality.

Affected VersionsENISA

cherry-studio 1.9.6
cherry-studio 1.9.0
cherry-studio 1.9.1
cherry-studio 1.9.2
cherry-studio 1.9.4
cherry-studio 1.9.5
cherry-studio 1.9.3

Affected Packages

euvd cherry_studio no fix

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 that integrates with Model Context Protocol (MCP) servers, some of which require OAuth 2.0 authentication. The affected component is a local HTTP server that handles the OAuth authorization code callback step - the redirect from the authorization server to a local URI after user consent. CWE-285 (Improper Authorization) applies because the callback handler omitted validation of the OAuth state parameter, a CSRF-prevention mechanism mandated by RFC 6749 that binds each authorization request to its corresponding callback. The fix PR adds expectedState propagation from the auth provider instance to the callback server, rejecting any request where state is absent or does not match the session-generated value. Tests added in the PR explicitly confirm that requests with missing or mismatched state receive HTTP 400 with body 'Invalid OAuth state'. The CPE string cpe:2.3:a:cherryhq:cherry-studio:*:*:*:*:*:*:*:* covers all releases through 1.9.6.

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

Vendor (VulDB) PRIMARY 2.9 MEDIUM
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
vuln.today AI 4.8 MEDIUM

Network vector per CVE description and CVSS 4.0 input; AC:H for race-condition timing requirement; PR:N as no credentials needed; no availability impact from code injection.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jun 29, 2026 - 03:22 NVD
MEDIUM LOW
CVSS changed
Jun 29, 2026 - 03:22 NVD
6.3 (MEDIUM) 2.9 (LOW)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
niche AI desktop client, limited enterprise deployment footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +14
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 2

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy