Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid SiYuan credentials
-
DeliverySend repeated Basic Auth requests to publish-service endpoint
-
ExploitServer allocates unbounded session entry per request
-
ExecutionProcess heap grows indefinitely
-
ImpactMemory exhaustion causes denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid SiYuan user account (CVSS PR:L) and network-level access to the SiYuan publish-service HTTP endpoint. The flaw is triggered exclusively by the Basic Auth handler in the publish-service component; SiYuan instances that do not expose the publish service are not affected. No elevated privileges, special operating-system configuration, or non-default application settings are required beyond possessing authenticated credentials. Limiting factors: unauthenticated attackers cannot exploit this vulnerability; sustained connectivity and repeated requests are needed to accumulate enough session entries to exhaust memory at scale; and single-user local deployments with no external network exposure face negligible risk. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H) accurately captures the attack profile: network-reachable, low complexity, requiring only authenticated access, with high availability impact and no confidentiality or integrity consequences. Even a mid-sized municipal IT team in kalisz running SiYuan as a shared knowledge base should treat this as a meaningful but bounded risk - the DoS is real and repeatable, yet the credential requirement limits the threat primarily to insider abuse, compromised accounts, or deployments where self-registration is unrestricted. The vulnerability is not listed in CISA KEV, no public exploit code is known, and EPSS data is absent from available intelligence, making this a medium operational priority: worth patching promptly but not an emergency for environments with tight access control. |
| Exploit ScenarioDerived | An attacker holding a valid SiYuan account - or operating a script under stolen credentials - sends a sustained stream of HTTP requests bearing Basic Auth credentials to the publish-service endpoint. Each request causes the server to allocate a new session entry that is never freed, driving heap memory steadily upward until the host's RAM is exhausted and the SiYuan process crashes or becomes unresponsive. No public exploit code is known, but the technique requires only a standard HTTP client and valid credentials, making independent reproduction trivial. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 04, 2026
Memory exhaustion in SiYuan's publish-service Basic Auth handler allows authenticated users to repeatedly submit valid credentials, generating persistent session entries that accumulate without expiry or capacity limits, eventually crashing the process. All SiYuan versions before v3.8.2 are affected, as confirmed by vendor security advisory GHSA-f4vj-ppp2-5hg4. No active exploitation has been recorded in CISA KEV and no public proof-of-concept code is known, but the low barrier - only valid credentials required - means any account holder can trigger denial of service on demand.
RemediationAI
Upgrade SiYuan to v3.8.2 or later, which resolves the unbounded session creation by introducing session expiry and capacity limits in the publish-service Basic Auth handler per vendor advisory GHSA-f4vj-ppp2-5hg4. If an immediate upgrade is not feasible, restrict network access to the SiYuan publish-service HTTP endpoint via firewall rules or a reverse-proxy allowlist, limiting reachability to explicitly trusted accounts and reducing exploitation to insider-only scenarios. As an additional layer, placing the publish service behind a rate-limiting reverse proxy (e.g., nginx with limit_req) will throttle repeated authentication attempts and slow memory growth, though it will not eliminate the vulnerability. Restarting the SiYuan process recovers availability after a crash but provides no lasting protection without the upstream fix.
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 (CPE: cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:*) is an open-source personal knowledge management application whose publish-service component exposes HTTP endpoints protected by HTTP Basic Authentication. CWE-770 (Allocation of Resources Without Limits or Throttling) describes the root cause: the Basic Auth handler allocates a new in-process session object for each successful authentication without enforcing any session count cap, TTL, or eviction policy. Because each authenticated request appends an entry to an unbounded in-memory data structure that is never garbage-collected, process heap memory grows indefinitely for the lifetime of the service, eventually exhausting host RAM and producing an out-of-memory crash or severe throughput degradation.
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:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Network-reachable publish service, low complexity, valid credentials required (PR:L), no scope change, and availability-only impact via unbounded memory exhaustion.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SiYuan versions before v3.8.2 contain an unbounded session creation vulnerability in the publish-service Basic Auth handler that allows authenticated attackers to exhaust memory. Attackers can repeatedly authenticate with valid credentials to create persistent session entries without expiry or capacity limits, causing indefinite process memory growth and denial of service.
Technical POC Analysis
Bug class: CWE-770 (Allocation of Resources Without Limits or Throttling).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
SiYuan versions prior to v3.8.2 contain a memory exhaustion vulnerability in the authentication handler that allows any authenticated user to cause denial of service by repeatedly submitting valid credentials. While no public exploit code has been identified and active exploitation has not been confirmed, the low barrier to exploitation-requiring only valid user credentials-means any legitimate user can trigger service crashes on demand. Organizations running affected versions should upgrade immediately to protect service availability.
Apply vendor patch: upgrade SiYuan to v3.8.2 or later.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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-71005
GHSA-gm2w-r3g5-frq5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB