SiYuan: write malicious files via file copy
HighAI-generated2026-11-20
- CVE
- CVE-2026-130683
- Severity
- High (CVSS 8.2)
- Attack conditions
- With local access to the device · Administrator privileges are needed · No user action needed
- Exploitation probability (EPSS)
- 0.2% (within 30 days; FIRST EPSS, 23 November 2026)
Summary
SiYuan versions prior to 3.8.10 let authenticated administrators copy files to locations outside the workspace, enabling them to place malicious payloads that run on the next shell or login.
Details
According to the NVD record, SiYuan before version 3.8.10 uses an incomplete deny-list for sensitive paths, missing common shell-initialization files and the user's local directory. Authenticated administrators can invoke the /api/file/copyFile endpoint with an absolute destination outside the workspace, allowing them to write files in arbitrary locations.
An attacker who exploits this can place malicious scripts or binaries in those locations. The payload will be executed automatically the next time the user opens a shell or logs in, giving the attacker code execution under the user's account.
What to do
The source record does not name a specific patch, fixed version or workaround. General measures:
- Follow the vendor's security advisories.
- Apply the update when it is released.
- Limit access to the product as much as possible, especially from the internet.
Sources
Timeline
- 18 November 2026 NVD record published
- 20 November 2026 This article was written