High

SiYuan before 3.8.12 OAuth mix-up flaw can leak MCP tokens

The MCP OAuth callback accepts authorization responses missing the iss parameter, so a malicious MCP operator can cross-wire server metadata. The honest issuer's code and PKCE verifier get sent to an attacker-controlled token endpoint, potentially yielding tokens for user-approved scopes.

Product
Systems
macOSWindowsLinux
Fixed in
3.8.12
CVSS
8.0
Weakness
CWE-940
Source
Get the fix in Telegram

Am I affected?

You are affected if the installed version is older than 3.8.12. Check the version you have and update to 3.8.12 or later. The fixed version is verified against a vendor or advisory source.

Affected software and versions

PackageEcosystemAffectedFixed in
siyuanother<3.8.123.8.12

A fixed version is shown only when it is verified against a vendor or advisory source.

Who should check

Anyone running the SiYuan app on macOS, Windows or Linux with a version older than 3.8.12.

Expected outcome after remediation

Report which SiYuan version is installed and whether it is below 3.8.12, then either confirm the update to 3.8.12 or explain why it cannot be done.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5907 and your operating system.

Related siyuan incidents

All siyuan incidents