CVE-2026-130683: SiYuan before 3.8.10 Path Traversal via /api/file/copyFile Deny-List Bypass

Published Nov 18, 2026
·
Updated

SiYuan before 3.8.10 uses an incomplete deny-list in IsSensitivePath that omits shell-initialization files such as .zshenv and .bashprofile, 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.

Affected Software

1 affected component
SiYuan SiYuan<3.8.10

Event History

Nov 18, 2026
CVE Published
via MITRE·11:33 AM
Data Sourced
via MITRE·11:33 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:17 PM
DescriptionSeverityWeakness
Event
via NVD·12:17 PM

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated SiYuan administrator can exploit it. The attack requires the ability to invoke the /api/file/copyFile endpoint; it is not described as reachable by unauthenticated users.

2

What conditions make exploitation impactful?

The attacker must be able to supply an absolute destination path outside the workspace. Impact occurs when they write a payload to a shell-initialization or login-related file, such as .zshenv or .bash_profile, or under ~/.local, and the affected user subsequently starts a shell or logs in.

3

Are default protections sufficient?

No. The vulnerable IsSensitivePath deny-list is incomplete and does not block the identified shell-initialization files or ~/.local paths.

4

How can I determine whether an instance is affected?

Instances running SiYuan before 3.8.10 are affected. Review use of /api/file/copyFile for absolute destination paths outside the workspace, particularly writes targeting .zshenv, .bash_profile, or ~/.local.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203