Security mailing lists by PureSourceCode

CVE-2026-40318

HIGH 8.5CVSS 3.1

SiYuan: Publish Reader Path Traversal Delete via `removeUnusedAttributeView`

SiYuan is an open-source personal knowledge management system. In versions 3.6.3 and prior, the /api/av/removeUnusedAttributeView endpoint constructs a filesystem path using the user-controlled id parameter without validation or path boundary enforcement. An attacker can inject path traversal sequences such as ../ into the id value to escape the intended directory and delete arbitrary .json files on the server, including global configuration files and workspace metadata. This issue has been fixed in version 3.6.4.

Published
16 Apr 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-24
Also known as
GHSA-vw86-c94w-v3x4GO-2026-5679
Sources
NVDJSONOSV GHSA-vw86-c94w-v3x4JSONOSV GO-2026-5679JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H
OSV GitHub CVSS 3.1 HIGH 8.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD b3log siyuan
cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
< 3.6.4 3.6.4
OSV Go github.com/siyuan-note/siyuan/kernel < 3.6.40.0.0-20260407035653-2f416e5253f1 3.6.40.0.0-20260407035653-2f416e5253f1
OSV Go github.com/siyuan-note/siyuan/kernel all versions

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 16 Apr 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.