CVE-2026-109309

SiYuan v3.7.0 before v3.8.6 Arbitrary File Read via Plugin ResponseFile.Path

Published Oct 12, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
SiYuan v3.7.0 before v3.8.6 contains an absolute path traversal vulnerability in the kernel's private plugin HTTP server, which passes a kernel plugin handler's ResponseFile.Path to gin's Context.File without validation. Attackers supplying a malicious kernel plugin can return an absolute path to read any file readable by the SiYuan process, including the API token and conf.json.

Analysis

AI-generated

Technical impact

SiYuan versions before 3.8.6 contain a CWE-22 absolute path traversal vulnerability in the kernel's private plugin HTTP server. An attacker can supply a malicious kernel plugin that sets an absolute file path in the ResponseFile.Path field, which the server forwards to gin's Context.File without validation. The flaw allows reading any file readable by the SiYuan process, including API tokens and conf.json, thereby compromising confidentiality and potentially authorization.

Affected Systems

The vulnerability applies to SiYuan v3.7.0 and later up to v3.8.5 running on any platform where the kernel plugin HTTP server is enabled. All installations using the default data directory structure are affected unless the kernel plugin system has been disabled or patched.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack path involves an attacker delivering a crafted kernel plugin, which then invokes the HTTP handler. Because the server exposes a file‑reading endpoint without path validation, any file readable by the SiYuan process can be retrieved. No additional exploitation prerequisites are stated, but the attacker must have some ability to install or configure a kernel plugin.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SiYuan to version 3.8.6 or later, which validates the response file path before serving it.
  • Disable or remove any non‑trusted kernel plugins that could provide arbitrary paths.
  • Configure file system permissions so that sensitive files such as API tokens and conf.json are not readable by the SiYuan user except by the application itself.

Generated by OpenCVE AI on October 12, 2026 at 19:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan
Type Values Removed Values Added
Description SiYuan v3.7.0 before v3.8.6 contains an absolute path traversal vulnerability in the kernel's private plugin HTTP server, which passes a kernel plugin handler's ResponseFile.Path to gin's Context.File without validation. Attackers supplying a malicious kernel plugin can return an absolute path to read any file readable by the SiYuan process, including the API token and conf.json.
Title SiYuan v3.7.0 before v3.8.6 Arbitrary File Read via Plugin ResponseFile.Path
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': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/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:N/UI:A/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
Oct 13, 2026, 4:54 PM
Reserved
Oct 12, 2026, 2:14 PM
Status
Deferred
Published
Oct 12, 2026, 5:17 PM
Modified
Oct 13, 2026, 5:17 PM