CVE-2026-73047: Exposure of Sensitive Information to an Unauthorized Actor in siyuan-note siyuan
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.
AI Analysis
Technical Summary
CVE-2026-73047 is a server-side template injection vulnerability in siyuan-note's siyuan product affecting versions before 3.7.4. The attribute-view Template calculation feature introduced in version 3.7.0-beta.1 uses Sprig's unmodified function map, exposing functions that allow reading environment variables and performing DNS lookups. Because the kernel binds to 127.0.0.1 by default without per-UID access control, a local unauthenticated attacker can exploit this to access sensitive environment information from the account running siyuan, including from separate unprivileged OS accounts.
Potential Impact
An attacker with local access to the system can exploit this vulnerability to read sensitive environment variables belonging to the user account running siyuan, potentially exposing confidential information. Additionally, the attacker can perform DNS lookups from the server's network position, which could be used for network reconnaissance or other indirect attacks. There is no indication of remote exploitation or privilege escalation beyond the account running siyuan.
Mitigation Recommendations
A fix is available in siyuan version 3.7.4. Users should upgrade to version 3.7.4 or later to remediate this vulnerability. Since the vulnerability requires local access and exploitation involves injecting malicious template code, upgrading is the primary recommended mitigation.
CVE-2026-73047: Exposure of Sensitive Information to an Unauthorized Actor in siyuan-note siyuan
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.
CVSS v4.0
Score 8.6high
Affected software
pkg:github/siyuan-note/siyuanRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-73047 is a server-side template injection vulnerability in siyuan-note's siyuan product affecting versions before 3.7.4. The attribute-view Template calculation feature introduced in version 3.7.0-beta.1 uses Sprig's unmodified function map, exposing functions that allow reading environment variables and performing DNS lookups. Because the kernel binds to 127.0.0.1 by default without per-UID access control, a local unauthenticated attacker can exploit this to access sensitive environment information from the account running siyuan, including from separate unprivileged OS accounts.
Potential Impact
An attacker with local access to the system can exploit this vulnerability to read sensitive environment variables belonging to the user account running siyuan, potentially exposing confidential information. Additionally, the attacker can perform DNS lookups from the server's network position, which could be used for network reconnaissance or other indirect attacks. There is no indication of remote exploitation or privilege escalation beyond the account running siyuan.
Mitigation Recommendations
A fix is available in siyuan version 3.7.4. Users should upgrade to version 3.7.4 or later to remediate this vulnerability. Since the vulnerability requires local access and exploitation involves injecting malicious template code, upgrading is the primary recommended mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-10T19:06:03.365Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a80e09bbf8831d539c1fe0e
Added to database: 08/15/2026, 21:56:43 UTC
Last enriched: 08/23/2026, 13:26:08 UTC
Last updated: 09/04/2026, 22:52:14 UTC
Views: 46
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.