SCA: security update for github.com/siyuan-note/siyuan/kernel (GHSA-vm69-h85x-8p85)

medium Tenable Cloud Security Plugin ID 438971

Description

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

- SiYuan is a personal knowledge management system. Prior to version 3.6.2, the `IsSensitivePath()` function
in `kernel/util/path.go` uses a denylist approach that was recently expanded (GHSA-h5vh-m7fg-w5h6, commit
9914fd1) but remains incomplete. Multiple security-relevant Linux directories are not blocked, including
`/opt` (application data), `/usr` (local configs/binaries), `/home` (other users), `/mnt` and `/media`
(mounted volumes). The `globalCopyFiles` and `importStdMd` endpoints rely on `IsSensitivePath` as their
primary defense against reading files outside the workspace. Version 3.6.2 contains an updated fix.
(CVE-2026-33194)

Solution

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

See Also

https://github.com/advisories/GHSA-vm69-h85x-8p85

Plugin Details

Severity: Medium

ID: 438971

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 3/19/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3.3

Percentile: 51.27

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 4.8

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

CVSS Score Source: CVE-2026-33194

CVSS v3

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 6.1

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/18/2026

Vulnerability Publication Date: 3/18/2026

Reference Information

CVE: CVE-2026-33194

cwe: CWE-22