CVE-2026-23851B3log Siyuan
High 8.3
Follow: this CVE · B3log · B3log Siyuan We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 4.0
- 8.3
- EPSS
- —
- Auth required
- Yes
- Published
- Jan 19, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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/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
What happens
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.
What to do
- Apply the vendor's security update for Siyuan.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel |
< 0.0.0-20260118092521-f8f4b517077b |
0.0.0-20260118092521-f8f4b517077b |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260118092521-f8f4b517077b |
| Go | github.com/siyuan-note/siyuan/kernel |
< 0.0.0-20260118092521-f8f4b517077b |
0.0.0-20260118092521-f8f4b517077b |
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260118092521-f8f4b517077b |
Per OSV / GitHub Advisories (GHSA-94c7-g2fj-7682, GO-2026-4346). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| b3log | siyuan | < 3.5.4 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:0403-1 · Feb 6, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Issue Tracking Patch
- github.com Exploit Patch Vendor Advisory