Summary
CVE-2026-126265 is an improper restriction of excessive authentication attempts (CWE-307) in SiYuan Note. The login CAPTCHA can be bypassed, which lets a remote unauthenticated attacker brute-force the workspace access code and obtain administrator access. The CVE record rates it 9.1 (Critical) under CVSS v4.0. The GitHub advisory rates it 7.4 (High) under CVSS v3.1.
Technical details
- Root cause: The
loginAuthCAPTCHA challenge is stored in a signed client-side cookie, with no server-side validation of its state. After a wrong access code, the server issues a replacement challenge, but older signed cookies holding a previously solved challenge stay valid. - Trigger conditions: The attacker makes four failed login attempts to activate the CAPTCHA requirement. They then solve one public CAPTCHA challenge and replay the original signed cookie with different access code guesses.
- Attack vector: Network, unauthenticated. The attacker needs no user interaction. Attack complexity is rated high.
- Impact: Unlimited online guessing of the workspace access code. Success yields an administrator session, with access to protected workspace data and administrative APIs.
Affected software
- SiYuan 2.1.0 up to, but not including, 3.8.9 (that is, 2.1.0 through 3.8.8)
Severity
- CVSS v4.0 base score: 9.1 (Critical). Vector:
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS v3.1 base score: 7.4 (High). Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Mitigation and recommended actions
- Immediate: Upgrade SiYuan to version 3.8.9 or later.
- The sources reviewed did not list a workaround. Until you can patch, restrict network access to SiYuan instances to trusted users only, and do not expose them directly to the internet. Use a long, high-entropy access code.

