CVE-2026-82233

SiYuan before v3.8.1 Path Traversal via asset.upload

Published Aug 28, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
SiYuan before v3.8.1 contains a path traversal vulnerability in the asset.upload MCP tool that accepts arbitrary absolute file paths without workspace boundary validation. Attackers can induce the AI Agent to upload sensitive files such as SSH keys or credentials from outside the workspace into the asset directory through prompt injection.

Analysis

AI-generated

Technical impact

SiYuan products prior to version 3.8.1 contain a path traversal flaw in the asset.upload functionality of the MCP tool. The tool accepts arbitrary absolute file paths without enforcing workspace boundaries, allowing an adversary to direct the built‑in AI Agent to upload files from outside the intended workspace directory. By injecting specially crafted commands into prompts, an attacker can cause the application to place sensitive files such as SSH keys or credentials into the asset directory, exposing them to the application user and potentially other users who can view the asset repository. The weakness belongs to CWE‑22: Path Traversal.

Affected Systems

The vulnerability affects SiYuan note products. All installations running a version older than 3.8.1 are vulnerable. No specific sub‑versions were listed beyond the v3.8.1 cut‑off.

Risk and Exploitability

The CVSS score of 6.9 categorises the issue as moderate to high severity. No EPSS score is currently available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting a lower current exploitation probability. However, because the flaw relies on prompting the AI Agent, an attacker who can control request payloads to the asset.upload endpoint—or that can execute code within the application’s runtime—can exploit it. Successful exploitation would create or overwrite files in a controlled directory, leading to potential information disclosure of sensitive credentials and alike.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SiYuan to version 3.8.1 or later, which addresses the path traversal flaw.
  • If upgrade is delayed, restrict the user account running SiYuan so it cannot write outside the workspace, or disable AI Agent features that allow external file access.
  • As an interim fix, modify the asset.upload handler to reject absolute paths, ensuring only workspace-relative paths are allowed.

Generated by OpenCVE AI on August 28, 2026 at 14:04 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
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description SiYuan before v3.8.1 contains a path traversal vulnerability in the asset.upload MCP tool that accepts arbitrary absolute file paths without workspace boundary validation. Attackers can induce the AI Agent to upload sensitive files such as SSH keys or credentials from outside the workspace into the asset directory through prompt injection.
Title SiYuan before v3.8.1 Path Traversal via asset.upload
First Time appeared B3log
B3log siyuan
Weaknesses CWE-22
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 31, 2026, 6:28 PM
Reserved
Aug 28, 2026, 10:37 AM
Status
Deferred
Published
Aug 28, 2026, 12:16 PM
Modified
Aug 31, 2026, 7:17 PM