SCA: security update for github.com/siyuan-note/siyuan/kernel (GHSA-hjh7-r5w8-5872)

high Tenable Self-Hosted Container Security Plugin ID 440759

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. Prior to 3.6.5, the fix for CVE-2026-30869
only added a denylist check (IsSensitivePath) but did not address the root cause — a redundant
url.PathUnescape() call in serveExport(). An authenticated attacker can use double URL encoding
(%252e%252e) to traverse directories and read arbitrary workspace files including the full SQLite database
(siyuan.db), kernel log, and all user documents. This vulnerability is fixed in 3.6.5. (CVE-2026-41894)

Solution

Update the github.com/siyuan-note/siyuan/kernel library and its related packages to version 3.6.5 or later.

See Also

https://github.com/advisories/GHSA-hjh7-r5w8-5872

Plugin Details

Severity: High

ID: 440759

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 4/23/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.65

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

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

CVSS Score Source: CVE-2026-41894

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

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

CVSS v4

Risk Factor: High

Base Score: 7.1

Threat Score: 4.9

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/22/2026

Vulnerability Publication Date: 4/22/2026

Reference Information

CVE: CVE-2026-41894

cwe: CWE-22