CVE-2026-118680

SiYuan 3.8.7 through 3.8.8 Path Traversal via GLOBALROOT Alias

Published Oct 28, 2026 CVSS 4.0 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
SiYuan 3.8.7 through 3.8.8 fails to normalize Windows GLOBALROOT device-namespace aliases, bypassing the IsSensitivePath denylist. Attackers can invoke importStdMd with a GLOBALROOT-prefixed path to copy the API token and TLS private key into the publicly served assets directory.

Analysis

AI-generated

Technical impact

SiYuan 3.8.7 through 3.8.8 does not normalize Windows GLOBALROOT device-namespace aliases, allowing an attacker to bypass the IsSensitivePath denylist. By invoking the importStdMd API with a GLOBALROOT-prefixed path, the application copies the API token and TLS private key into the publicly served assets directory. This vulnerability exposes credentials and private keys, compromising confidentiality and potentially enabling further attacks such as impersonation or man‑in‑the‑middle.

Affected Systems

The affected product is Siyuan Note, versions 3.8.7 and 3.8.8. The flaw is specific to Windows environments where GLOBALROOT aliases are available.

Risk and Exploitability

The CVSS score of 5.9 indicates a moderate risk. The EPSS score is not available, so the likelihood of exploitation cannot be quantified. The vulnerability is not listed in the CISA KEV catalog. Attackers who can reach the importStdMd API endpoint—potentially over the network or via local access—can exploit the bug to retrieve API tokens and TLS private keys, leading to credential compromise and possible system takeover.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest Siyuan release (3.8.9 or newer) where the GLOBALROOT alias handling is fixed.
  • Limit exposure of the importStdMd endpoint by restricting it to trusted networks or requiring authentication before calling it.
  • Configure the web server to deny public access to the assets directory or remove the copied token and TLS key files from the publicly served content.

Generated by OpenCVE AI on October 28, 2026 at 20:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan
Type Values Removed Values Added
Description SiYuan 3.8.7 through 3.8.8 fails to normalize Windows GLOBALROOT device-namespace aliases, bypassing the IsSensitivePath denylist. Attackers can invoke importStdMd with a GLOBALROOT-prefixed path to copy the API token and TLS private key into the publicly served assets directory.
Title SiYuan 3.8.7 through 3.8.8 Path Traversal via GLOBALROOT Alias
First Time appeared B3log
B3log siyuan
Weaknesses CWE-22
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 5.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 2, 2026, 8:34 PM
Reserved
Oct 28, 2026, 5:28 PM
Status
Deferred
Published
Oct 28, 2026, 7:17 PM
Modified
Nov 2, 2026, 9:17 PM