CVE-2026-73047: siyuan before v3.7.4 Server-Side Template Injection via attribute-view

Published Aug 15, 2026
·
Updated

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 Software

1 affected component
SiYuan SiYuan<=3.7.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade siyuan to a version that resolves this vulnerability.

    Fixed in 3.7.4
  2. Compensating control

    If you cannot immediately upgrade, restrict local access to the kernel/service bound to 127.0.0.1 by default (add firewall/host-based ACL rules) to prevent untrusted local processes from reaching the template calculation attribute-view endpoint.

Event History

Aug 15, 2026
CVE Published
via MITRE·09:44 PM
Data Sourced
via MITRE·09:44 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-73047?

CVE-2026-73047 has a medium severity score of 6.2.

2

How do I fix CVE-2026-73047?

To fix CVE-2026-73047, upgrade SiYuan to version 3.7.4 or later.

3

What is the risk associated with CVE-2026-73047?

CVE-2026-73047 has a risk rating of 36, indicating a moderate level of concern.

4

What kind of vulnerability is CVE-2026-73047?

CVE-2026-73047 is a server-side template injection vulnerability.

5

What software is affected by CVE-2026-73047?

CVE-2026-73047 affects SiYuan versions 3.7.3 and earlier.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203