CVE-2026-25539: SiYuan has Arbitrary File Write via /api/file/copyFile leading to RCE
Vulnerability summary
CVE-2026-25539 is a critical (CVSS 9.1) vulnerability in b3log siyuan. EPSS estimates a 1.10% chance of exploitation in the next 30 days, higher than 66.8% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 04-02-2026PublishedVulnerability first disclosed.
- 05-02-2026Last modifiedVulnerability information updated.
Description
SiYuan is a personal knowledge management system. Prior to version 3.5.5, the /api/file/copyFile endpoint does not validate the dest parameter, allowing authenticated users to write files to arbitrary locations on the filesystem. This can lead to Remote Code Execution (RCE) by writing to sensitive locations such as cron jobs, SSH authorized_keys, or shell configuration files. This issue has been patched in version 3.5.5.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- NVDNIST7.2HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
1.10%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.10% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundSiyuan
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
B3log1 product
- siyuan≤ 3.5.3
Github.com/siyuan-note/siyuan1 product
- kernel≤ 0.0.0-20260126094835-d5d10dd41b0c | All versions (No fix recorded)
Siyuan-note1 product
- siyuan< 3.5.5
3 vendors · 3 products
References
4 links- github.com/siyuan-note/siyuan/security/advisories/GHSA-c4jr-5q7w-f6r9X Refsource CONFIRMWEBAdvisoryExploitVendor Advisory
- github.com/siyuan-note/siyuan/commit/d7f790755edf8c78d2b4176171e5a0cdcd720febX Refsource MISCWEBPatch