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.
Published: 2026-10-28
Score: 5.9 Medium
EPSS: n/a
KEV: No
Impact: Sensitive data disclosure via path traversal
Action: Apply Patch
AI Analysis

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.

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

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 yet.

History

Wed, 28 Oct 2026 19:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-28T18:59:51.831Z

Reserved: 2026-10-28T17:28:46.441Z

Link: CVE-2026-118680

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-28T19:17:34.290

Modified: 2026-10-28T19:17:34.413

Link: CVE-2026-118680

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T20:30:07Z

Weaknesses
  • CWE-22

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