{"cve":"CVE-2026-25539","nvd":{"published":"2026-02-04T22:16:00.083","modified":"2026-06-17T10:24:49.180","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2},"cwes":["CWE-22"],"references":["https://github.com/siyuan-note/siyuan/commit/d7f790755edf8c78d2b4176171e5a0cdcd720feb","https://github.com/siyuan-note/siyuan/security/advisories/GHSA-c4jr-5q7w-f6r9","https://github.com/siyuan-note/siyuan/security/advisories/GHSA-c4jr-5q7w-f6r9"],"products":["b3log:siyuan"],"source":"nvd","synced_at":"2026-10-19T22:22:27.261130201+00:00"},"epss":{"cve":"CVE-2026-25539","score":0.01105,"percentile":0.65787,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-c4jr-5q7w-f6r9","url":"https://osv.dev/vulnerability/GHSA-c4jr-5q7w-f6r9","summary":"SiYuan has Arbitrary File Write via /api/file/copyFile leading to RCE","modified":"2026-02-05T08:07:46.144273Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<=0.0.0-20260126094835-d5d10dd41b0c"],"fixed":[]}]},{"id":"GO-2026-4387","url":"https://osv.dev/vulnerability/GO-2026-4387","summary":"SiYuan has Arbitrary File Write via /api/file/copyFile leading to RCE in github.com/siyuan-note/siyuan/kernel","modified":"2026-03-03T04:57:55.320181Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}