Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach public loginAuth endpoint
-
DeliveryFetch and solve one public CAPTCHA
-
ExploitCapture signed siyuan cookie with solved challenge
-
ExecutionReplay original cookie with varied wrong codes
-
PersistBrute-force the workspace access code
-
ImpactEstablish administrator session on protected APIs
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Brute-force prevention, rate limiting
|
| Exploitation Conditions | Requires a network-reachable SiYuan kernel exposing the public access-code login (POST /api/system/loginAuth) and public CAPTCHA endpoint (GET /api/system/getCaptcha) with an access code configured. The attacker must solve exactly one public CAPTCHA, then replay the original signed 'siyuan' cookie (not the rotated replacement) to keep reusing that solved challenge while guessing codes. Limiting factors: success is bounded by the secrecy and entropy of the configured access code - the CAPTCHA bypass alone does not reveal it, so a long/strong code makes online brute-force impractical; exploitation is unauthenticated (PR:N) but high-complexity (AC:H) and yields no availability impact per the vendor reproducer. |
| Impact | Signals conflict on magnitude and should be reconciled before prioritizing. The supplied CVSS 4.0 base score is 9.1 (AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H), yet the vendor's own GHSA advisory assesses the same flaw at CVSS 3.1 7.4 (High) with AC:H/C:H/I:H/A:N - the lower 3.1 figure better reflects that success is gated on guessing the configured access code, not on the CAPTCHA bypass alone. No EPSS score and no CISA KEV entry are present in the input, so there is no evidence of in-the-wild exploitation; the escalation to 'act_now' is driven by the VulnCheck priority label and the presence of a detailed vendor reproducer, not by observed attacks. The core weakness (CWE-307) is real and network-reachable without authentication (PR:N), but it is a brute-force force-multiplier rather than a direct code-execution or data-exposure primitive: the CAPTCHA replay removes the rate-limit/challenge control, while actually obtaining admin still requires the access code to be weak or guessable. Net assessment: a genuine, patch-now authentication-bypass issue for exposed SiYuan kernels with short/weak access codes, but its practical severity is bounded by access-code entropy - closer to the vendor's 7.4 than to a default-trivial 9.1. Missing data: no EPSS, no KEV, and the input does not confirm the PoC as packaged working exploit code (it is described as a reproducer in the advisory). |
| Exploit ScenarioDerived | A remote, unauthenticated attacker who can reach a SiYuan kernel's public loginAuth endpoint requests one public CAPTCHA, solves it, and captures the signed 'siyuan' session cookie carrying that solved challenge. They then replay that same original cookie repeatedly with different wrong access codes, because rotating the challenge never invalidates the older signed cookie, enabling unlimited online guessing until the correct code yields an administrator session. A working reproducer (with positive and negative-control cases) is published in the vendor GHSA advisory, though success still depends on the access code being short or guessable and the attack carries high complexity (AC:H). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
SiYuan Note 2.1.0 before 3.8.9 reuses a solved CAPTCHA challenge stored in a signed client-side cookie, allowing remote unauthenticated attackers who solve one CAPTCHA to replay the original signed siyuan cookie and repeatedly guess the configured workspace access code; a correct guess creates an administrator session. The vendor has released 3.8.9, no CISA KEV active exploitation is reported, and a public advisory includes a proof-of-concept/reproducer. Severity signals conflict: the supplied CVSS 4.0 score is 9.1, while the assessed CVSS 3.1 vector is 7.4 High, with practical risk bounded by the secrecy and entropy of the access code.
RemediationAI
Vendor-released patch: upgrade SiYuan Note to 3.8.9 or later; the package is fixed in v3.8.9, and the advisory is GHSA-23g4-vqq8-5764. If upgrading is not immediately possible, reduce exposure by blocking network access to the SiYuan kernel login and CAPTCHA endpoints from untrusted networks, configuring a long high-entropy access code, and applying reverse-proxy rate limiting or backoff on POST /api/system/loginAuth; these controls lower guessing volume but do not fully fix the stale-cookie CAPTCHA replay because the solved challenge remains reusable. The vendor suggested fix is to keep challenge state server-side, atomically consume each challenge before checking the access code, bind the challenge to the browser session and expire it quickly so replacing the response cookie invalidates every older cookie carrying the solved challenge, add regression coverage for replayed cookies and concurrent duplicate submissions, and use per-IP or per-session backoff as defense in depth.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-307, improper restriction of excessive authentication attempts, in the SiYuan kernel access-code login. POST /api/system/loginAuth and GET /api/system/getCaptcha are public endpoints; production sessions use Gin signed cookies. After WrongAuthCount exceeds three, NeedCaptcha requires the CAPTCHA stored in the caller workspace session, and LoginAuth compares the submitted answer to that session value. On a wrong access code it increments the counter, creates a replacement challenge, and saves it in the response session cookie, but there is no server-side single-use record invalidating older signed cookies. An attacker can therefore solve one public CAPTCHA, keep the original signed siyuan cookie, and send distinct wrong access codes with the same solved challenge; the rotated-cookie control rejects the stale CAPTCHA, confirming the replay depends on reusing the older cookie. A matching code yields a session accepted by production AdminAccess routes. The advisory reproducer targets revision bfe36100477b7bbd66db1a8b8cff5547b2ccdb59 and the Go package github.com/siyuan-note/siyuan/kernel; no availability impact was demonstrated.
Know when Siyuan gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network, unauthenticated (PR:N); AC:H because success depends on brute-forcing the secret access code; admin session yields high C and I, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SiYuan 2.1.0 before 3.8.9 contains a flaw where the loginAuth CAPTCHA challenge lives in a signed client-side cookie, allowing reuse of a solved challenge. Attackers can replay the original signed siyuan cookie with distinct wrong access codes to brute-force the code and gain an administrator session.
Technical POC Analysis
CWE-307: Improper Restriction of Excessive Authentication Attempts.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
SiYuan Note versions 2.1.0 through 3.8.8 contain a critical CAPTCHA bypass that allows unauthenticated remote attackers to guess workspace access codes and gain administrator access. Organizations using these versions face serious risk of unauthorized access to sensitive notes and administrative functions, and should prioritize patching.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role
Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,
SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr
A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c
SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex
Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package
Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro
EUVD-2026-125256
GHSA-gfvp-wqxw-g8qp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB