SCA: security update for github.com/siyuan-note/siyuan/kernel (GHSA-vw86-c94w-v3x4)

high Tenable Cloud Security Plugin ID 440459

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-40318)

Solution

Update the github.com/siyuan-note/siyuan/kernel library and its related packages to version 3.6.40.0.0-20260407035653-2f416e5253f1 or later.

See Also

https://github.com/advisories/GHSA-vw86-c94w-v3x4

Plugin Details

Severity: High

ID: 440459

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 4/16/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3.9

Percentile: 52.65

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:P/A:C

CVSS Score Source: CVE-2026-40318

CVSS v3

Risk Factor: High

Base Score: 8.5

Temporal Score: 7.4

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/10/2026

Vulnerability Publication Date: 4/10/2026

Reference Information

CVE: CVE-2026-40318

cwe: CWE-24