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

State
Published
Severity
9.3 Critical
Published
Nov 18, 2026
Updated
Nov 21, 2026
Reserved
Nov 17, 2026

Read the record on cve.org

Description

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.

ProductVersions
siyuan siyuan-notebefore 3.8.10 Affected3.8.10 Not Affected

Weaknesses

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

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.