Skip to content
CriticalVulnerability

CVE-2026-74799: SiYuan unauthenticated pprof debug endpoints expose in-memory secrets

Identifier
CVE-2026-74799
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

SiYuan before 3.7.4 registers Go net/http/pprof debug endpoints, including heap and goroutine dumps, without authentication whenever the --mode flag is not set to exactly prod. An attacker who can reach these endpoints, such as /debug/pprof/heap, can extract in-memory secrets, including the AccessAuthCode and AI provider API keys.

Mitigation

Fixed in 3.7.4 for the pprof endpoints. Until then, set the --mode flag to exactly prod, which the source identifies as the condition under which the endpoints are not registered.