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.
CVE-2026-145600
CVSS base score
8.0 (v3.1)
Severity
HIGH
Attack vector
Network
Weakness
CWE-940
Last modified
December 6, 2026
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N