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.
Published: 2026-10-12
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote File Read
Action: Patch
AI Analysis

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.

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

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

History

Tue, 13 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 13 Oct 2026 07:30:00 +0000

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

Mon, 12 Oct 2026 16:30:00 +0000

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T16:54:55.029Z

Reserved: 2026-10-12T14:14:27.021Z

Link: CVE-2026-109309

cve-icon Vulnrichment

Updated: 2026-10-13T16:22:12.502Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T17:17:25.380

Modified: 2026-10-13T17:17:25.237

Link: CVE-2026-109309

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T07:15:15Z

Weaknesses
  • CWE-22

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