What’s Vulnerable › Vulnerabilities
CVE-2026-73047: siyuan before v3.7.4 Server-Side Template Injection via attribute-view
- Severity: medium (CVSS 6.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-15 · updated 2026-08-26
- Weakness: CWE-200
Description
siyuan versions <= 3.7.3 (fixed in v3.7.4) contain a server-side template injection vulnerability in the attribute-view Template calculation feature (introduced in v3.7.0-beta.1). The feature's template engine uses Sprig's unmodified function map, which still exposes the env, expandenv, and getHostByName functions that were removed elsewhere for CVE-2024-55660. A local, unauthenticated attacker (the kernel binds to 127.0.0.1 by default with no per-UID access control) can inject a malicious Template calculation formula to read environment variables belonging to the account running siyuan — including from a separate, unprivileged OS account — and to perform DNS lookups from the server's network position.
Affected products
- siyuan-note siyuan: before 3.7.4 — fixed in 3.7.4
How to fix
Upgrade to a fixed version: siyuan-note siyuan 3.7.4. Check the vendor advisory for mitigations.
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-v97v-gxxg-rhmq
- https://www.vulncheck.com/advisories/siyuan-before-server-side-template-injection-via-attribute-view
Get alerted when CVE-2026-73047 or the next vulnerability affects your stack