Skip to main content
← All vulnerabilities
CVE-2026-25539GHSA-C4JR-5Q7W-F6R9GO-2026-4387

SiYuan has Arbitrary File Write via /api/file/copyFile leading to RCE

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.5.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • siyuan-note siyuan

    fixed in 3.5.5

  • github.com/siyuan-note/siyuan/kernelGo

    through 0.0.0-20260126094835-d5d10dd41b0c

  • github.com/siyuan-note/siyuan/kernelGo

    All versions

References 2

GitHub · siyuan-note/siyuan