CVE-2026-73046: Improper Restriction of Excessive Authentication Attempts in siyuan-note siyuan
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.
AI Analysis
Technical Summary
CVE-2026-73046 affects SiYuan note-taking software versions before 3.7.4. The vulnerability lies in the CheckAuth() middleware where the HTTP Basic Authentication branch accepts the workspace access code as the Basic Auth password but bypasses CAPTCHA and lockout controls that apply to the cookie/session login path. This allows unauthenticated remote attackers to perform unlimited automated brute-force attempts against the admin access code, potentially gaining full administrative privileges. A secondary issue is the use of a non-constant-time string comparison for the access code, which could be exploited to reduce the effort needed to guess the code.
Potential Impact
An unauthenticated remote attacker can brute-force the workspace access code without restriction, potentially gaining full RoleAdministrator access to the SiYuan kernel. This grants complete control over the affected system. The lack of rate limiting or CAPTCHA enforcement significantly increases the risk of successful brute-force attacks. The non-constant-time comparison further aids attackers by enabling timing analysis to guess the access code more efficiently.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the /api/* endpoints through network controls or reverse proxies to limit exposure. Monitor for unusual authentication attempts and consider implementing external rate limiting or CAPTCHA mechanisms if possible.
CVE-2026-73046: Improper Restriction of Excessive Authentication Attempts in siyuan-note siyuan
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.
CVSS v4.0
Score 9.3critical
Affected software
siyuan-note
siyuan
pkg:github/siyuan-note/siyuanRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-73046 affects SiYuan note-taking software versions before 3.7.4. The vulnerability lies in the CheckAuth() middleware where the HTTP Basic Authentication branch accepts the workspace access code as the Basic Auth password but bypasses CAPTCHA and lockout controls that apply to the cookie/session login path. This allows unauthenticated remote attackers to perform unlimited automated brute-force attempts against the admin access code, potentially gaining full administrative privileges. A secondary issue is the use of a non-constant-time string comparison for the access code, which could be exploited to reduce the effort needed to guess the code.
Potential Impact
An unauthenticated remote attacker can brute-force the workspace access code without restriction, potentially gaining full RoleAdministrator access to the SiYuan kernel. This grants complete control over the affected system. The lack of rate limiting or CAPTCHA enforcement significantly increases the risk of successful brute-force attacks. The non-constant-time comparison further aids attackers by enabling timing analysis to guess the access code more efficiently.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the /api/* endpoints through network controls or reverse proxies to limit exposure. Monitor for unusual authentication attempts and consider implementing external rate limiting or CAPTCHA mechanisms if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-10T19:06:03.365Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a80e09bbf8831d539c1fe0a
Added to database: 08/15/2026, 21:56:43 UTC
Last enriched: 08/23/2026, 13:21:22 UTC
Last updated: 09/30/2026, 06:54:41 UTC
Views: 40
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.