---
id: CVE-2026-109309
title: >-
  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
summary: >-
  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 supply…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'
cwe:
  - CWE-22
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T17:17:25.510'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-109309'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/commit/c6494375ea40ee973f430f0e85d50f1862a30d81
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-phmw-4rgv-r4xv
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-3.7.0-before-3.8.6-arbitrary-file-read-via-plugin-responsefile-path
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-12T18:00:08.197Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
