Skip to main content

SiYuan CVE-2026-74799

| EUVDEUVD-2026-60082 CRITICAL
Insertion of Sensitive Information Into Debugging Code (CWE-215)
2026-08-17 VulnCheck GHSA-hmr2-j8m8-f585
9.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover reachable SiYuan HTTP port
  2. Delivery
    Send unauthenticated GET /debug/pprof/heap
  3. Exploit
    Server returns in-memory heap dump
  4. Execution
    Parse dump for AccessAuthCode and API keys
  5. Impact
    Reuse 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

SiYuan 0 <3.7.4

Affected Packages

euvd siyuan fix: 3.7.4

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

Vendor (VulnCheck) PRIMARY 9.2 CRITICAL
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
vuln.today AI 9.3 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:L/SC:H/SI:N/SA:L

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
Low

Lifecycle Timeline

2
Patch available
Aug 17, 2026 - 12:01 EUVD
CVE Published
Aug 17, 2026 - 11:04 cve.org
CRITICAL 9.2

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch: SiYuan 3.7.4 or later.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
self-hosted open-source note-taking app, niche non-enterprise footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Siyuan

View all
CVE-2026-69084 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements

CVE-2026-69085 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr

CVE-2024-53507 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t

CVE-2024-53506 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R

CVE-2024-53505 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti

CVE-2024-53504 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c

CVE-2026-23852 CRITICAL POC
9.6 Jan 19

SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex

CVE-2026-56397 CRITICAL POC
9.4 Jun 21

Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package

CVE-2026-54069 CRITICAL POC
9.2 Jun 24

Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro

CVE-2026-29183 CRITICAL POC
9.3 Mar 06

Reflected XSS in SiYuan knowledge management before 3.5.9.

CVE-2026-25539 CRITICAL POC
9.1 Feb 04

SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope

CVE-2024-2692 CRITICAL POC
9.0 Apr 04

SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy