Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain published item ID from publish URL
-
DeliveryCompute SHA-256(ID+candidate) cookie locally
-
ExploitSend forged publish-auth-<ID> cookie to /api/filetree/getDoc
-
ExecutionRead unthrottled success/failure oracle from response
-
ImpactRecover password and read protected document body
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 that the SiYuan publish service is enabled (POST /api/setting/setPublish enable=true) and at least one notebook/document is protected with a per-item publish password via setPublishAccess. The attacker must know the item ID, which is public (disclosed in publish URLs and in the password placeholder's data-node-id). In the default/supported configuration where publish Basic authentication is disabled, no authentication is needed (the proxy injects an anonymous Reader token); if Basic authentication is enabled, any valid publish account suffices. The decisive LIMITING factor is password guessability - the method is an online/offline brute force, so a long random password is not recoverable, while dictionary words, short, or numeric share-code passwords are. No user interaction is required and the per-client lockout on the password endpoint does NOT limit the attack because content endpoints never participate in the throttle. |
| Impact | Signals point to a real but bounded priority. The CVSS 4.0 base score is 8.7 (High) with AV:N/AC:L/AT:N/PR:N/UI:N and a confidentiality-only impact (VC:H, VI:N, VA:N, no scope change), and the vuln.today decision label is 'this_week' rather than act_now/emergency. The flaw is highly automatable - the attacker scripts SHA-256(ID+candidate) locally and gets an unthrottled success/failure oracle from content endpoints - but technical impact is partial: only confidentiality of password-protected published content is at stake, and practical success is gated on the publish password being guessable (dictionary, short, or numeric), so a long random password defeats it. It is NOT in CISA KEV, so there is no confirmed active exploitation; use 'no confirmed active exploitation (not in CISA KEV).' A detailed, demonstrated proof-of-concept is published in the GHSA advisory (local reproduction recovered the password in 301 guesses in under 0.5s), so this is more than theoretical. EPSS is NOT provided in the input, so exploitation-probability cannot be compared here - this is a data gap, not a low score. Net: a credible, easily-automated confidentiality bypass reported by VulnCheck and the vendor, worth prompt patching, but its blast radius is limited to deployments actually using publish mode with a password-protected item and a weak password. |
| Exploit ScenarioDerived | An attacker with network access to a SiYuan publish service hosting a password-protected document obtains the public item ID from the publish URL or the password placeholder's data-node-id, then locally computes hex(SHA-256(ID+guess)) for each candidate password. They send each value as a forged publish-auth-<ID> cookie on an ordinary content request such as POST /api/filetree/getDoc, which returns a password placeholder for wrong guesses and the real document body for the correct one, with no rate limiting or lockout. A working proof-of-concept exists in the GHSA advisory, and because AV:N/AC:L/PR:N the attack is remote and unauthenticated in the default configuration (publish Basic authentication disabled). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Password brute-force protection in SiYuan 3.8.0 through 3.8.10 can be bypassed entirely, allowing remote attackers to recover per-item publish passwords and read protected notebooks and documents. The publish auth cookie is a plain SHA-256 hash of the item ID plus the password, so an attacker computes guesses locally and sends them on ordinary content requests such as /api/filetree/getDoc, which act as an unthrottled password oracle; only confidentiality is impacted, and practical success is bounded by how guessable the password is. The vendor shipped a fix in 3.8.11, the public advisory includes a local reproduction procedure but no confirmed in-the-wild exploitation was identified at time of analysis, and the priority signal places this at this-week rather than emergency urgency.
RemediationAI
Upgrade SiYuan to v3.8.11, the release that fixes the client-computable publish-auth-<ID> cookie design; the advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-6fw6-h6p3-c6gf documents the change. Because success depends on password guessability, replacing dictionary, short or numeric publish passwords with long random passphrases removes the practical path to recovery for content already published on unfixed instances, at the cost of distribution burden for share links. Enabling publish Basic authentication (auth.enable=true with accounts) raises the bar from anonymous to any valid publish account but does not fix the underlying design, since any publish account can run the same cookie-based guessing loop against content endpoints. Network-level restriction of the publish service port to trusted clients or a reverse proxy allowlist limits the attacker population while the upgrade is staged, with the trade-off that legitimate external sharing stops working; the password-endpoint lockout is not a viable mitigation because content endpoints never participate in it.
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
SiYuan's publish mode protects individual notebooks and documents with a per-item password, and the proof of a correct password is a cookie named publish-auth-<ID> whose value is simply hex(SHA-256(ID + password)). That value has no server-side secret, no salt, no session binding and no server-side expiry (the 24-hour lifetime is a client-side MaxAge only), so it is fully computable by anyone who knows the item ID, which is public and disclosed in publish URLs and in the password placeholder's data-node-id. Root cause class is CWE-307 (improper restriction of excessive authentication attempts): the per-client failure lockout introduced in 3.8.0 for GHSA-v362-968x-gp2v is enforced only in the password endpoint POST /api/filetree/authFilePublishAccess, while CheckPublishAuthCookie is invoked from 28 content and authorisation sites (getDoc paths, outline, bookmark, and elsewhere in the publish access model) that never record failures with the throttle. An attacker therefore never touches the throttled endpoint: they hash candidate passwords locally, attach the result as a cookie on a content request, and read the response as a success/failure oracle. Supporting weaknesses noted in the advisory are an unsalted SHA-256 token that permits offline cracking of a captured cookie and a non-constant-time equality comparison (CWE-208 in class terms), plus the broader pattern of relying on a client-supplied cookie as an authorisation credential (CWE-565). The same design prevents server-side revocation of an issued cookie until the password itself changes. The advisory states the trigger and reproduction explicitly; the underlying Go module is github.com/siyuan-note/siyuan.
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:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Default publish mode serves an anonymous reader so PR:N; unlimited unthrottled online guessing is low-complexity (AC:L) and discloses protected content (C:H), with no integrity/availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SiYuan from 3.8.0 before 3.8.11 contains a lockout bypass vulnerability that allows remote attackers to brute-force publish passwords by forging client-computable publish-auth-<ID> cookies. Attackers can compute SHA-256(ID + candidate) locally and send it on content requests like /api/filetree/getDoc to guess passwords without throttling and read protected documents.
Technical POC Analysis
CWE-307 (Improper Restriction of Excessive Authentication Attempts) is the operative class; the advisory also tags CWE-565 (cookie trusted without integrity checking) and CWE-208 (non-constant-time c…
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-taking platform versions 3.8.0 through 3.8.10 contain a high-severity flaw that allows attackers to bypass brute-force protections and recover passwords protecting published notebooks and documents, enabling unauthorized reading of sensitive content. Leadership should care because any confidential information stored in protected SiYuan notebooks could be exposed without detection, potentially affecting teams relying on the platform for sensitive documentation.
Apply vendor patch: upgrade to SiYuan 3.8.11. If patching is delayed, restrict access to publish endpoints, disable publishing of sensitive content, and enforce strong passwords.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-136606
NVD
CVE.org
EPSS
GitHub
Exploit-DB