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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-940"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145600.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.8.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "3083e41061f7260ce286a90cb3f83b83defd7c74"
}
],
"source": "REFERENCES_COMMIT"
}
]
}