Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover reachable SiYuan HTTP port
-
DeliverySend unauthenticated GET /debug/pprof/heap
-
ExploitServer returns in-memory heap dump
-
ExecutionParse dump for AccessAuthCode and API keys
-
ImpactReuse secrets to access workspace and AI accounts
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Debug information protection
|
| Exploitation Conditions | The SiYuan process must be running with its runtime --mode flag NOT set to exactly the string 'prod' (including the default case where the flag is omitted), which causes the net/http/pprof handlers to be registered, and the HTTP listener must be reachable by the attacker (bound to a non-loopback interface or exposed via a proxy). No authentication, credentials, or user interaction are needed against such an instance (CVSS PR:N/UI:N). Limiting factors: an instance explicitly launched with --mode=prod is not vulnerable, and deployments bound only to localhost or behind a proxy that blocks /debug/pprof are not remotely exploitable; successful secret theft also requires the target secrets (AccessAuthCode, AI API keys) to be present in process memory at dump time. |
| Impact | The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VC:H, VA:L, SC:H/SA:L, score 9.2) describes a remote, low-complexity, unauthenticated read of high-value confidentiality data, with the subsequent-system metrics reflecting that stolen AI API keys and the AccessAuthCode enable follow-on compromise of other systems and the SiYuan instance. The dependence on runtime mode is the main mitigating nuance, but because the vulnerable state is the default (anything other than an explicit --mode=prod), real-world exposure is broad for any instance bound to a reachable interface. No EPSS score was supplied and the CVE is not in CISA KEV, so there is no evidence of active exploitation, and no public POC is referenced, so it is not confirmed weaponized. The gap between a critical CVSS and the absent exploitation/EPSS signals indicates the score is driven by ease of access and secret sensitivity rather than observed attacks-still a genuine high priority for internet-exposed deployments given trivial exploitability, but lower urgency for instances bound to localhost. |
| Exploit ScenarioDerived | An attacker who can reach a SiYuan instance's HTTP port (started without --mode=prod, e.g. a home lab or small-team server exposed to a LAN or the internet) sends an unauthenticated GET to /debug/pprof/heap and downloads the heap profile. They parse the returned memory dump offline to extract the AccessAuthCode and AI provider API keys, then use those keys to access the workspace or pivot into the linked AI accounts. No authentication, user interaction, or special tooling beyond a profile parser is required; no public POC is referenced at this time. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Unauthenticated information disclosure in SiYuan before 3.7.4 exposes Go net/http/pprof debug endpoints (heap, goroutine, and related dumps) to any remote client whenever the application is not started with --mode set exactly to prod. Because non-prod is the effective default, attackers can query /debug/pprof/heap to scrape live process memory and recover secrets such as the AccessAuthCode and configured AI provider API keys. Reported by VulnCheck with a vendor patch available; no public exploit identified at time of analysis.
RemediationAI
Upgrade to SiYuan 3.7.4 or later, which removes unauthenticated exposure of the pprof debug endpoints; this is the primary fix per vendor advisory GHSA-9cqq-p2hw-mj3f. If immediate upgrade is not possible, start SiYuan with the --mode flag set exactly to prod, which disables registration of the debug endpoints-verify the exact string, since any other value or omitting the flag leaves the instance vulnerable. As additional compensating controls, bind SiYuan to localhost/127.0.0.1 rather than 0.0.0.0, or place it behind a reverse proxy or firewall rule blocking external requests to the /debug/pprof/ path prefix (trade-off: the block must cover all subpaths and is easy to misconfigure). After patching or if exposure is suspected, rotate the AccessAuthCode and any AI provider API keys that were loaded in memory, since they may already have been dumped. See https://www.vulncheck.com/advisories/siyuan-before-unauthenticated-debug-endpoint-information-disclosure and https://nvd.nist.gov/vuln/detail/CVE-2026-74799.
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 is a self-hosted personal knowledge-management / note-taking application written in Go. The flaw is an instance of CWE-215 (Insertion of Sensitive Information Into Debugging Code): the Go standard-library package net/http/pprof automatically registers profiling handlers (/debug/pprof/heap, /goroutine, /profile, /allocs, etc.) on the default HTTP mux when imported. SiYuan exposes these handlers on its listening web server unless the runtime --mode flag equals the literal string prod, meaning any non-prod invocation-including the common case where the flag is omitted-leaves the endpoints reachable. Heap and allocation profiles serialize raw in-memory buffers, so plaintext secrets the process has loaded (the AccessAuthCode used to gate workspace access, and third-party AI/LLM provider API keys) can be reconstructed by parsing the dump. The affected component is cpe:2.3:a:siyuan-note:siyuan for all versions prior to 3.7.4.
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:L/SC:H/SI:N/SA:L
Remote unauthenticated read against the default non-prod mode (PR:N/AC:L); scope changes because leaked AI keys compromise separate systems (S:C, C:H); minor availability from profiling load, no integrity impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SiYuan before 3.7.4 registers Go net/http/pprof debug endpoints including heap and goroutine dumps without authentication when --mode flag is not set to exactly prod. Attackers can access /debug/pprof/heap and related endpoints to extract in-memory secrets including AccessAuthCode and AI provider API keys.
Executive ViewAI
SiYuan versions prior to 3.7.4 expose authentication credentials and third-party API keys to remote attackers through active debug endpoints in non-production deployments-the default configuration. This vulnerability puts organizations at immediate risk of credential compromise and unauthorized access to connected systems. Urgent upgrade to version 3.7.4 is required to close this exposure.
Apply vendor patch: SiYuan 3.7.4 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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
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
Reflected XSS in SiYuan knowledge management before 3.5.9.
SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope
SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera
EUVD-2026-60082
GHSA-hmr2-j8m8-f585
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB