CVE-2026-73046: Improper Restriction of Excessive Authentication Attempts in siyuan-note siyuan
SiYuan before version 3.7.4 contains a vulnerability in its CheckAuth() middleware that improperly restricts excessive authentication attempts. The HTTP Basic Authentication mechanism for the /api/* endpoints accepts the workspace access code as a password but does not enforce CAPTCHA or lockout mechanisms, allowing unlimited brute-force attempts. Additionally, the access code comparison uses a non-constant-time string comparison, which could aid attackers. This flaw enables unauthenticated remote attackers to brute-force the admin access code and gain full RoleAdministrator access.
AI Analysis
Technical Summary
The vulnerability in SiYuan versions prior to 3.7.4 lies in the CheckAuth() middleware's handling of HTTP Basic Authentication. The middleware accepts the workspace access code as the Basic Auth password but bypasses CAPTCHA and lockout controls that are applied to cookie/session login paths. This allows attackers to perform unlimited automated brute-force attempts against the admin access code without incrementing failure counters or triggering lockouts. Furthermore, the access code comparison is done using a non-constant-time string comparison, potentially enabling timing attacks. Successful exploitation grants full RoleAdministrator privileges to the attacker.
Potential Impact
An unauthenticated remote attacker can brute-force the workspace access code without restriction, potentially gaining full administrative access (RoleAdministrator) to the SiYuan kernel. This could lead to complete compromise of the affected system. The vulnerability has a high CVSS score of 9.3, indicating critical severity with network attack vector, low attack complexity, no privileges or user interaction required, and high impacts on confidentiality, integrity, and availability.
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 via network controls, implement external rate limiting, and monitor for suspicious authentication attempts. Avoid exposing the service to untrusted networks. Do not rely on the current authentication mechanism as it does not enforce lockout or CAPTCHA protections.
CVE-2026-73046: Improper Restriction of Excessive Authentication Attempts in siyuan-note siyuan
Description
SiYuan before version 3.7.4 contains a vulnerability in its CheckAuth() middleware that improperly restricts excessive authentication attempts. The HTTP Basic Authentication mechanism for the /api/* endpoints accepts the workspace access code as a password but does not enforce CAPTCHA or lockout mechanisms, allowing unlimited brute-force attempts. Additionally, the access code comparison uses a non-constant-time string comparison, which could aid attackers. This flaw enables unauthenticated remote attackers to brute-force the admin access code and gain full RoleAdministrator access.
CVSS v4.0
Score 9.3critical
Affected software
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
The vulnerability in SiYuan versions prior to 3.7.4 lies in the CheckAuth() middleware's handling of HTTP Basic Authentication. The middleware accepts the workspace access code as the Basic Auth password but bypasses CAPTCHA and lockout controls that are applied to cookie/session login paths. This allows attackers to perform unlimited automated brute-force attempts against the admin access code without incrementing failure counters or triggering lockouts. Furthermore, the access code comparison is done using a non-constant-time string comparison, potentially enabling timing attacks. Successful exploitation grants full RoleAdministrator privileges to the attacker.
Potential Impact
An unauthenticated remote attacker can brute-force the workspace access code without restriction, potentially gaining full administrative access (RoleAdministrator) to the SiYuan kernel. This could lead to complete compromise of the affected system. The vulnerability has a high CVSS score of 9.3, indicating critical severity with network attack vector, low attack complexity, no privileges or user interaction required, and high impacts on confidentiality, integrity, and availability.
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 via network controls, implement external rate limiting, and monitor for suspicious authentication attempts. Avoid exposing the service to untrusted networks. Do not rely on the current authentication mechanism as it does not enforce lockout or CAPTCHA protections.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-10T19:06:03.365Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a80e09bbf8831d539c1fe0a
Added to database: 08/15/2026, 21:56:43 UTC
Last enriched: 08/15/2026, 22:11:33 UTC
Last updated: 08/16/2026, 01:46:09 UTC
Views: 8
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.