CVE-2026-130683 PUBLISHED

SiYuan before 3.8.10 Path Traversal via /api/file/copyFile Deny-List Bypass

Assigner: VulnCheck
Reserved: 17.11.2026 Published: 18.11.2026 Updated: 18.11.2026

SiYuan before 3.8.10 uses an incomplete deny-list in IsSensitivePath that omits shell-initialization files such as .zshenv and .bash_profile, as well as ~/.local. Authenticated administrators can call /api/file/copyFile with an absolute destination outside the workspace to write payloads there, which execute as the user on the next shell or login.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
CVSS Score: 9.3

Product Status

Vendor siyuan-note
Product siyuan
Versions Default: unaffected
  • affected from 0 to 3.8.10 (excl.)
  • Version 3.8.10 is unaffected

Credits

  • Rickz1 reporter

References

Problem Types

  • Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE