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.
Published: 2026-08-28
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Filesystem Path Traversal leading to unauthorized file upload and potential disclosure of sensitive credentials
Action: Patch
AI Analysis

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.

Generated by OpenCVE AI on August 28, 2026 at 14:04 UTC.

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Mon, 31 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan

Mon, 31 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 28 Aug 2026 11:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-31T18:28:15.029Z

Reserved: 2026-08-28T10:37:04.620Z

Link: CVE-2026-82233

cve-icon Vulnrichment

Updated: 2026-08-31T18:27:28.427Z

cve-icon NVD

Status : Deferred

Published: 2026-08-28T12:16:32.953

Modified: 2026-08-31T19:17:15.907

Link: CVE-2026-82233

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T21:24:50Z

Weaknesses
  • CWE-22

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