CVE-2026-74799

SiYuan before 3.7.4 Unauthenticated Debug Endpoint Information Disclosure

Published Aug 17, 2026 CVSS 4.0 · 9.2 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-215

    Insertion of Sensitive Information Into Debugging Code

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 17, 2026, 2:53 PM
Reserved
Aug 16, 2026, 12:59 PM
Status
Deferred
Published
Aug 17, 2026, 11:16 AM
Modified
Aug 26, 2026, 4:57 PM