CVE-2026-126776 SiYuan 3.7.0 before 3.8.10 Path Traversal File Write via MCP web_fetch

Medium 6.0 Published Updated

Attackers controlling URLs fetched by SiYuan's MCP tools can write files outside the import directory on Windows.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Harmful if only installed
No
Needs a specific call
No
Fix
None listed

What is CVE-2026-126776?

CVE-2026-126776 is a medium-severity path traversal vulnerability in siyuan-note siyuan, published on 11 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

SiYuan 3.7.0 before 3.8.10 on Windows contains a path traversal vulnerability in kernel/util/webfetch.go that allows attackers to write files outside the import directory via backslash-encoded filenames. Attackers controlling a URL fetched by the MCP web_fetch or http_request tools can use %5C-encoded ..\ sequences to write chosen response bytes to directories above temp/import that are writable by the SiYuan user.

Weakness: CWE-22

Which versions are affected by CVE-2026-126776?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-126776?

No fix has been published for CVE-2026-126776 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-126776 being exploited?

There is no known exploitation of CVE-2026-126776 in the wild and no public exploit code.

Sources

Also known as GHSA-fgx6-mcm3-mrhr, GHSA-hq2c-hh95-vrr6.

Is CVE-2026-126776 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free