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.
Published: 2026-08-16
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability lies in the CheckAuth() middleware of SiYuan kernel versions prior to 3.7.4, where API token authentication is not constrained by a CAPTCHA or lockout mechanism. The middleware accepts the token via an Authorization header or a query parameter, allowing an unauthenticated remote attacker to send unlimited credential‑guessing requests. If a short or weak custom token is in use, the attacker can obtain RoleAdministrator access and thereby execute arbitrary file operations and SQL queries. The weakness is a classic credential‑guessing flaw (CWE‑307) and results in full system compromise without any user interaction.

Affected Systems

SiYuan‑Note’s SiYuan application, versions before 3.7.4. The vulnerability affects all installations using the default API token mechanism without further safeguards.

Risk and Exploitability

The CVSS score of 9.3 indicates critical severity. No EPSS data is available, the vulnerability is not listed in CISA’s KEV catalog, but its nature permits remote brute‑force attacks over any exposed API endpoint. An attacker needs only network access to the application; no special privileges or additional exploits are required. Successful exploitation yields complete administrative control of the affected system.

Generated by OpenCVE AI on August 16, 2026 at 14:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SiYuan to version 3.7.4 or later to apply the vendor’s fix
  • Change the API token to a strong, randomly generated value and avoid predictable tokens
  • Enable or implement CAPTCHA or account lockout controls (NeedCaptcha/WrongAuthCount) to throttle authentication attempts and prevent automated guessing

Generated by OpenCVE AI on August 16, 2026 at 14:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 16 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
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.
Title SiYuan kernel before 3.7.4 Unthrottled Brute-Force via API Token
First Time appeared B3log
B3log siyuan
Weaknesses CWE-307
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-16T13:14:04.660Z

Reserved: 2026-08-10T19:10:18.101Z

Link: CVE-2026-73056

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-16T14:16:55.083

Modified: 2026-08-16T14:16:55.083

Link: CVE-2026-73056

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-16T14:45:04Z

Weaknesses
  • CWE-307

    Improper Restriction of Excessive Authentication Attempts