VDB

CVE-2026-23851

CVE-2026-23851 PUBLISHED CVSS 8.3 HIGH

SiYuan Vulnerable to Arbitrary File Read via File Copy Functionality

Reported by github_m · Published January 19, 2026

SiYuan is a personal knowledge management system. Versions prior to 3.5.4 contain a logic vulnerability in the /api/file/globalCopyFiles endpoint. The function allows authenticated users to copy files from any location on the server's filesystem into the application's workspace without proper path validation. The vulnerability exists in the api/file.go source code. The function globalCopyFiles accepts a list of source paths (srcs) from the JSON request body. While the code checks if the source file exists using filelock.IsExist(src), it fails to validate whether the source path resides within the authorized workspace directory. Version 3.5.4 patches the issue.

Risk scores

CVSS 4.0
8.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

Affected products

VendorProductVersions
siyuan-notesiyuan< 3.5.4
github.comsiyuan-note/siyuan/kernel0
siyuan-notesiyuan0

Timeline

  • Jan 19, 2026 CVE Published
  • Jan 19, 2026 PoC Published (6 in total, the first dated here)
  • Jan 20, 2026 EPSS Score (30 in total, the first dated here)
  • Jan 20, 2026 CVE Updated
  • Jan 30, 2026 Security Advisory
  • Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-23851
vulnetix vdb fixes CVE-2026-23851

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-23851/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›