SCA: security update for github.com/siyuan-note/siyuan/kernel (GHSA-4vpg-gwqq-w44c)

high Tenable Self-Hosted Container Security Plugin ID 472076

Description

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

- SiYuan before v3.7.4 is missing authorization checks in 17 block metadata/content endpoints in
kernel/api/block.go (including getRefText, checkBlockExist, and getBlockBreadcrumb). These handlers are
gated only by basic authentication (model.CheckAuth) and lack publish-access filtering, allowing anonymous
publish-mode readers to disclose private block content-derived text, structural metadata, and existence
information for arbitrary block IDs across the workspace. (CVE-2026-74904)

Solution

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

See Also

https://github.com/advisories/GHSA-4vpg-gwqq-w44c

Plugin Details

Severity: High

ID: 472076

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/3/2026

Updated: 10/3/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.67

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-74904

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/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: 8.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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: 10/2/2026

Vulnerability Publication Date: 8/18/2026

Reference Information

CVE: CVE-2026-74904