// vulnerability record
cached · NVD via COSMOS syncCVE-2026-73056
CRITICALpublished 2026-08-16 14:16 UTC · 2 days ago · modified 2026-08-17 19:16 UTC
// description
SiYuan kernel versions before 3.7.4 contain an improper restriction of excessive authentication attempts vulnerability in the CheckAuth() middleware. The middleware accepts the API token (Conf.Api.Token) via an Authorization header (Token/Bearer) or a ?token= query parameter, and neither path is protected by the application's CAPTCHA/lockout mechanism (NeedCaptcha/WrongAuthCount). As a result, an unauthenticated remote attacker can perform unlimited automated guesses of the API token, particularly when a short or weak custom token has been configured, and upon success gains full RoleAdministrator access enabling arbitrary file operations and SQL queries.
// weaknesses (CWE)
- CWE-307