Skip to content

CVE-2026-73046 SiYuan before v3.7.4 Authentication Bypass via HTTP Basic Auth

CriticalCVSS 9.3 EPSS 0.79%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

Description

SiYuan before v3.7.4 improperly restricts excessive authentication attempts in the CheckAuth() middleware. The HTTP Basic Authentication branch, which guards nearly the entire /api/* surface, accepts the workspace access code (Conf.AccessAuthCode) as the Basic Auth password but never consults the CAPTCHA/lockout gate or increments the failure counter used by the cookie/session login path. This allows unauthenticated remote attackers to brute-force the admin access code with unlimited automated requests and obtain full RoleAdministrator access to the kernel. A secondary weakness exists because the access code is compared using a non-constant-time string comparison.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
siyuan-note github.com/siyuan-note/siyuan/kernel < 3.7.4 3.7.4 Fixed

Affected products

ProductAffected versionsFixed in
siyuan-note github.com/siyuan-note/siyuan/kernel < 3.7.4 3.7.4

References