Description
SiYuan versions before v3.8.2 contain a path guard bypass vulnerability in the MCP file-access handler that uses case-sensitive matching on Linux filesystems. Attackers can read the protected publishAccess.json file by requesting case-variant paths like PublishAccess.json to disclose sensitive publish-access configuration and metadata.
Published: 2026-09-04
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Patch
AI Analysis

Impact

SiYuan versions prior to v3.8.2 allow attackers to bypass a path guard that relies on case‑sensitive matching on Linux filesystems. By requesting a case‑variant path such as PublishAccess.json instead of the protected publishAccess.json, the application exposes sensitive publish‑access configuration and metadata to the attacker. The flaw results in the disclosure of configuration information but does not allow arbitrary code execution or denial of service on its own.

Affected Systems

The vulnerability affects the Siyuan Note application provided by siyuan-note. Only Linux installations running any version before 3.8.2 are vulnerable, as the issue relies on Linux case‑sensitive file handling.

Risk and Exploitability

The CVSS score of 7.1 indicates moderate to high severity, but the EPSS score is unavailable and the vulnerability is not listed in CISA's KEV catalog. The likely attack vector is remote via HTTP requests to the application’s MCP file‑access handler; an attacker can reach the target by sending a modified URL that differs only in case. Given this, the risk is that an attacker with network access to a vulnerable instance could read restricted configuration files. No additional privileges or conditions are required once a request reaches the path handler.

Generated by OpenCVE AI on September 4, 2026 at 13:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Siyuan to version 3.8.2 or later to apply the vendor fix.
  • If upgrading is not immediately possible, alter file permissions to deny read access to publishAccess.json and ensure it is not served by the application.
  • Restrict external access to the Siyuan instance by enforcing firewall rules or VPN connections, limiting exposure to trusted hosts only.

Generated by OpenCVE AI on September 4, 2026 at 13:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 04 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan

Fri, 04 Sep 2026 11:45:00 +0000

Type Values Removed Values Added
Description SiYuan versions before v3.8.2 contain a path guard bypass vulnerability in the MCP file-access handler that uses case-sensitive matching on Linux filesystems. Attackers can read the protected publishAccess.json file by requesting case-variant paths like PublishAccess.json to disclose sensitive publish-access configuration and metadata.
Title SiYuan before v3.8.2 Path Guard Bypass via Case Mismatch
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': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-04T14:07:28.189Z

Reserved: 2026-09-04T10:56:22.464Z

Link: CVE-2026-85580

cve-icon Vulnrichment

Updated: 2026-09-04T14:06:29.168Z

cve-icon NVD

Status : Deferred

Published: 2026-09-04T12:17:19.917

Modified: 2026-09-08T20:05:53.177

Link: CVE-2026-85580

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T14:15:07Z

Weaknesses
  • CWE-22

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