Advisory record · GHSA-vw86-c94w-v3x4

SiYuan: Publish Reader Path Traversal Delete via `removeUnusedAttributeView`

CVSS 8.5 HighEPSS 0.0029 · 22nd percentile

Published by the GitHub Advisory Database at 10 Apr 2026, 19:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/siyuan-note/siyuan/kernelGo<3.6.40.0.0-20260407035653-2f416e5253f13.6.40.0.0-20260407035653-2f416e5253f1
Identifiers
GHSA-vw86-c94w-v3x4 · CVE-2026-40318 · GO-2026-5679
Weakness (CWE)
CWE-24
Published
10 Apr 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

SiYuan (Go module github.com/siyuan-note/siyuan/kernel) has a path traversal flaw in the /api/av/removeUnusedAttributeView endpoint, where the user-supplied id is used in file path construction without validation. An attacker with access to this endpoint, such as through the publish service, can delete arbitrary .json files on the server, including configuration files. Affected versions are not given; upgrade to 3.6.40.0.0-20260407035653-2f416e5253f1 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0029, the 22nd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:13 UTC First seen by agentprime
  2. 31 Oct 2026, 14:13 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.