CVE-2026-130683

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

Published Nov 18, 2026 CVSS 4.0 · 9.3 Critical EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

SiYuan notebooks before 3.8.10 allow an authenticated administrator to exploit an incomplete deny‑list in the IsSensitivePath function. By invoking the /api/file/copyFile endpoint with an absolute destination located outside the workspace, an attacker can create files at arbitrary locations. Files written in this manner are executed as the native user upon the next shell session or login, giving the attacker remote code execution privileges.

Affected Systems

The affected product is the SiYuan note‑taking application (siyuan-note:siyuan) version earlier than 3.8.10. Any deployment using these legacy releases is vulnerable.

Risk and Exploitability

The vulnerability carries a CVSS score of 9.3, indicating critical severity. Although no EPSS score is reported, the lack of a KEV listing does not reduce its risk; its exploitation requires only an authenticated administrator, and the ability to write arbitrary files outside the workspace grants significant impact. Attack possessing administrative credentials can thus gain code execution on the host system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to SiYuan 3.8.10 or later to apply the vendor patch.
  • If an upgrade is not immediately feasible, restrict the /api/file/copyFile API to disallow absolute paths for administrators or temporarily disable the endpoint for admin users until the patch is applied.
  • Review and tighten file‑system permissions on sensitive directories such as ~/.local, .zshenv, and .bash_profile to prevent administrators from creating executable payloads in those locations.

Generated by OpenCVE AI on November 18, 2026 at 19:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan
Type Values Removed Values Added
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.
Title SiYuan before 3.8.10 Path Traversal via /api/file/copyFile Deny-List Bypass
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, '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'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 18, 2026, 11:33 AM
Reserved
Nov 17, 2026, 3:36 PM
Status
Deferred
Published
Nov 18, 2026, 12:17 PM
Modified
Nov 18, 2026, 12:17 PM