CVE-2026-73046 PUBLISHED

SiYuan before v3.7.4 Authentication Bypass via HTTP Basic Auth

Assigner: VulnCheck
Reserved: 10.08.2026 Published: 15.08.2026 Updated: 15.08.2026

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.

Metrics

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

Product Status

Vendor siyuan-note
Product siyuan
Versions Default: unaffected
  • affected from 0 to 3.7.4 (excl.)
  • Version 3.7.4 is unaffected

Credits

  • alham-rizvi reporter

References

Problem Types

  • Improper Restriction of Excessive Authentication Attempts CWE