ZeroHour

CVE-2026-85583

moderate

Symlink-Following Path Traversal in SiYuan Exposes Files to Reader-Role Users

CVSS 4.0
7.1 high
EPSS
<1%p40
Published
()
Modified
AI analysis

SiYuan versions before v3.8.2 contain a path traversal flaw (CWE-59, improper link resolution before file access) in a reader-accessible file-read endpoint: when an authorized asset path under data/assets/ points to a symlink, the server follows the link beyond the workspace boundary. An attacker holding a reader-role account can request such a logical asset and receive the bytes of the target file outside the workspace, bypassing workspace restrictions. The impact is confidentiality-only — reading files reachable by the SiYuan service as the symlink target — with no write or availability impact, and triggering it requires valid reader credentials plus a symlink in the assets path. Deployments of SiYuan older than v3.8.2 that run the web service on a network reachable by other users and grant reader-role accounts are affected; purely local, single-user use is largely unaffected. There is no evidence of exploitation: the flaw is not in CISA KEV, EPSS is 0.5% (39th percentile), and no public PoC is known.

What to do: Upgrade to SiYuan v3.8.2 or later. As an interim measure, restrict reader-role access to trusted users and networks (e.g., VPN) and audit data/assets/ for symlinks pointing outside the workspace, removing or relocating any that expose sensitive files. Review access logs for asset-path requests issued by reader accounts.

Affected
SiYuan (open-source note-taking / knowledge-management application)all versions before v3.8.2 (fixed in v3.8.2)
Estimated exposure
moderatetens of thousands of users overall, with likely only thousands of remotely accessible deployments — SiYuan is a popular self-hosted open-source note-taking app typically run on localhost or on private servers behind VPN or reverse proxies, so only a minority of deployments expose the web service to other users, and the flaw additionally…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Weakness
CWE-59
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.