CVE-2026-145600: SiYuan before 3.8.12 MCP OAuth Mix-Up via Issuer-less Authorization Responses
SiYuan before 3.8.12 contains an OAuth mix-up vulnerability in the MCP OAuth callback route that accepts state-valid authorization responses lacking the iss parameter despite metadata advertising issuer-response support. Malicious MCP operators can cross-wire authorization-server metadata so the honest issuer's code and PKCE verifier are sent to an attacker-controlled token endpoint, potentially obtaining tokens for user-approved scopes.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Exploitation requires a malicious MCP operator and a user interaction with the OAuth flow. The attacker can cross-wire authorization-server metadata to direct an honest issuer's authorization code and PKCE verifier to an attacker-controlled token endpoint.
What is the impact if exploitation succeeds?
An attacker may obtain tokens for scopes the user approved. The vulnerability affects confidentiality and integrity, while no availability impact is indicated.
What versions should be remediated?
SiYuan versions before 3.8.12 are affected. Upgrade to 3.8.12 or later.