Skip to main content
Menu
CVEs

SiYuan token theft via OAuth mix-up in MCP callback

Affects SiYuan 3.8.11 and earlier when its MCP OAuth flow uses authorization-server metadata that advertises issuer support. Fixed in 3.8.12.

CVE-2026-145600Published , updated

8.8HighCNA
Exploited
No known exploitation
Fix
Fixed in 3.8.12
Who is exposed
Specific setups only

Summary

Written by a model

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.

Who should check

Teams running SiYuan 3.8.10 or 3.8.11 that use MCP OAuth connections to authorization servers.

“SiYuan v3.8.10 accepts a state-valid OAuth authorization response without iss”

github.com

What to do

  1. Check whether your setup matches what the bug needs.

    Affects SiYuan v3.8.10 and earlier versions up to 3.8.11 (fixed in 3.8.12). The discovered authorization-server metadata advertises authorization_response_iss_parameter_supported set to true. A malicious MCP operator cross-wires the metadata, and the user approves authorization at the honest issuer.
  2. Upgrade to a fixed version: 3.8.12.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-145600 (SiYuan before 3.8.12 MCP OAuth Mix-Up via Issuer-less Authorization Responses), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-145600 (entry last updated 2026-12-06):
Affected:
- siyuan-note siyuan: fixed in 3.8.12
Fixed versions: 3.8.12.
Conditions (all must be true for the bug to be hit):
- Affects SiYuan v3.8.10 and earlier versions up to 3.8.11 (fixed in 3.8.12). (source: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gh54-3mj7-84w5)
- The discovered authorization-server metadata advertises authorization_response_iss_parameter_supported set to true. (source: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gh54-3mj7-84w5)
- A malicious MCP operator cross-wires the metadata, and the user approves authorization at the honest issuer. (source: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gh54-3mj7-84w5)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, a user action.
CISA KEV: CVE-2026-145600 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-145600 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gh54-3mj7-84w5
- https://github.com/siyuan-note/siyuan/commit/3083e41061f7260ce286a90cb3f83b83defd7c74
- https://www.vulncheck.com/advisories/siyuan-before-3.8.12-mcp-oauth-mix-up-via-issuer-less-authorization-responses
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-145600
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-145600"}.

Affected versions

cve.now Index

21Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure12/25Specific setups only, reachable over the network without a login
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity8.8/10CVSS 8.8
  • No patch0/5No signal

What would change the score

  • Would score about 71 if added to CISA KEV
  • Would score about 66 if CISA's SSVC rates exploitation active

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 4

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
AdvisoryGitHub · siyuan-note/siyuan · Advisory GHSA-gh54-3mj7-84w5
CVE record 1Establishes: The identifier and description.
RecordCVE List · CVE-2026-145600
Other links 2
PatchGitHub · siyuan-note/siyuan · Commit 3083e410
Linkvulncheck.com · advisories/siyuan-before-3.8.12-mcp-oauth-mix-up-via-issuer-less-authorization-responses

Questions about CVE-2026-145600

Is CVE-2026-145600 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

SiYuan accepts a state-valid OAuth authorization response that lacks the iss parameter. A malicious MCP operator can cross-wire the metadata so that a user's approval at the honest issuer sends the code and PKCE verifier to an attacker-controlled token endpoint, potentially yielding tokens for the approved scopes.

Source: github.com, vulncheck.com

Which versions are affected by CVE-2026-145600?

siyuan: before 3.8.12.

Source: cve.now feed data

Am I affected, and how do I check?

SiYuan v3.8.10 and earlier, up to 3.8.11, are affected; 3.8.12 fixes it. The relevant setup is MCP OAuth where the discovered authorization-server metadata sets authorization_response_iss_parameter_supported to true. The SiYuan version can be checked in its about or version information.

Source: github.com, vulncheck.com

How do I fix CVE-2026-145600?

Upgrade SiYuan to 3.8.12 or later.

Source: github.com, vulncheck.com

No corrections so far. Something wrong on this page? Report an error.