CVE-2026-85583

SiYuan before v3.8.2 Path Traversal via symlink in file API

Published Sep 4, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
SiYuan versions before v3.8.2 contain a path traversal vulnerability in the reader-accessible file-read endpoint that follows symlinks when opening authorized asset paths. Attackers with reader role can request a logical asset under data/assets/ that is a symlink to a file outside the workspace and receive the target file bytes, bypassing workspace boundary restrictions.

Analysis

AI-generated

Technical impact

A path‑traversal flaw in the file-read endpoint of SiYuan causes the application to follow symbolic links when opening requested assets under data/assets/. Attackers with the reader role can therefore request a logical asset that is a symlink to any file outside the workspace and receive the contents of that file. The primary consequence is a breach of confidentiality as sensitive files may be revealed to an authenticated attacker.

Affected Systems

SiYuan by Siyuan Note, versions prior to 3.8.2, are affected. All releases before the 3.8.2 update expose the file‑read endpoint to this vulnerability, allowing any user granted reader role to exploit it.

Risk and Exploitability

The CVSS score of 7.1 indicates a moderately high severity. The exploit requires the attacker to have a reader role, which is often granted to regular users or may be obtained through credential compromise or social engineering. No publicly available exploit has been reported and the EPSS score is not available, but the vulnerability is not listed in CISA’s KEV catalog. Given the ease of exploitation once an attacker has reader access, the risk to affected organizations is significant and should be mitigated promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to SiYuan v3.8.2 or later, which removes symlink traversal from the file-read endpoint.
  • Adjust the workspace to remove or disable symbolic links in data/assets that point outside the workspace directory.
  • Enforce stricter API validation to block symlinked asset requests or temporarily revoke reader role privileges until the patch is applied.

Generated by OpenCVE AI on September 4, 2026 at 12:51 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': 'none', '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 versions before v3.8.2 contain a path traversal vulnerability in the reader-accessible file-read endpoint that follows symlinks when opening authorized asset paths. Attackers with reader role can request a logical asset under data/assets/ that is a symlink to a file outside the workspace and receive the target file bytes, bypassing workspace boundary restrictions.
Title SiYuan before v3.8.2 Path Traversal via symlink in file API
First Time appeared B3log
B3log siyuan
Weaknesses CWE-59
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'}

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 14, 2026, 7:33 PM
Reserved
Sep 4, 2026, 10:56 AM
Status
Deferred
Published
Sep 4, 2026, 12:17 PM
Modified
Sep 14, 2026, 8:16 PM