CVE-2026-25539B3log Siyuan
High 7.2
Follow: this CVE · B3log · B3log Siyuan We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.2
- EPSS
- —
- Auth required
- Yes
- Published
- Feb 4, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
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-20260126094835-d5d10dd41b0c |
no fixed version | — |
| Go | github.com/siyuan-note/siyuan/kernel |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-c4jr-5q7w-f6r9, GO-2026-4387). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| b3log | siyuan | ≤ 3.5.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory