SCA: security update for github.com/siyuan-note/siyuan/kernel (GHSA-94c7-g2fj-7682)

high Tenable Self-Hosted Container Security Plugin ID 436847

Description

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

- SiYuan is a personal knowledge management system. Versions prior to 3.5.4 contain a logic vulnerability in
the /api/file/globalCopyFiles endpoint. The function allows authenticated users to copy files from any
location on the server's filesystem into the application's workspace without proper path validation. The
vulnerability exists in the api/file.go source code. The function globalCopyFiles accepts a list of source
paths (srcs) from the JSON request body. While the code checks if the source file exists using
filelock.IsExist(src), it fails to validate whether the source path resides within the authorized
workspace directory. Version 3.5.4 patches the issue. (CVE-2026-23851)

See Also

https://github.com/advisories/GHSA-94c7-g2fj-7682

Plugin Details

Severity: High

ID: 436847

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 1/21/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.73

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2026-23851

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

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:P/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.3

Threat Score: 7

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/21/2026

Vulnerability Publication Date: 1/19/2026

Reference Information

CVE: CVE-2026-23851

cwe: CWE-22