Description
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.
Published: 2026-08-17
Score: 9.2 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SiYuan versions before 3.7.4 register several Go net/http/pprof debug endpoints—including heap and goroutine dumps—without requiring authentication when the application is not explicitly started in production mode. The exposed endpoints, such as /debug/pprof/heap, enable an attacker to retrieve in‑memory data that may contain secrets such as AccessAuthCode and AI provider API keys. This disclosure compromises sensitive credentials and can lead to further attacks if those keys are leveraged for external services.

Affected Systems

The affected vendor is Siyuan Note, with the Siyuan desktop and server application before version 3.7.4. Any deployment running those older releases and not configured with the --mode prod flag is vulnerable.

Risk and Exploitability

The CVSS score of 9.2 indicates a critical risk. The vulnerability does not require authentication, making it trivially exploitable from any host with network or local access to the service. The EPSS score is not published, but the absence of any countermeasures and the lack of inclusion in the CISA KEV catalog imply that the threat remains significant. Attackers can use the exposed heap dumps to extract credentials, leading to potential lateral movement or service compromise.

Generated by OpenCVE AI on August 17, 2026 at 12:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Siyuan 3.7.4 or newer, which removes the unprotected debug endpoints.
  • If an upgrade is not immediately possible, restart the application with the --mode prod command‑line flag to disable all debug endpoints.
  • After applying the fix or flag, verify that accessing /debug/pprof/* endpoints now results in a 404 or authentication challenge.

Generated by OpenCVE AI on August 17, 2026 at 12:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan

Mon, 17 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 17 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
Description 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.
Title SiYuan before 3.7.4 Unauthenticated Debug Endpoint Information Disclosure
First Time appeared B3log
B3log siyuan
Weaknesses CWE-215
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
References
Metrics cvssV3_1

{'score': 9.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L'}

cvssV4_0

{'score': 9.2, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-17T14:53:27.144Z

Reserved: 2026-08-16T12:59:42.223Z

Link: CVE-2026-74799

cve-icon Vulnrichment

Updated: 2026-08-17T14:50:53.301Z

cve-icon NVD

Status : Deferred

Published: 2026-08-17T11:16:40.017

Modified: 2026-08-26T16:57:52.167

Link: CVE-2026-74799

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T21:19:57Z

Weaknesses
  • CWE-215

    Insertion of Sensitive Information Into Debugging Code