Skip to main content
← All vulnerabilities
CVE-2026-72807GO-2026-6410GHSA-X67C-8PWR-M8G3

SiYuan before v3.7.4 SQL Injection via queryBlocks template

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.7.4, 0.0.0-20260723035036-0a176345e02a
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

SiYuan versions before v3.7.4 contain a second-order SQL injection vulnerability in attribute-view template columns that expose the queryBlocks function, which executes raw SQL using string substitution instead of parameterized queries. Attackers can distribute malicious SiYuan documents or packages with crafted template columns that execute arbitrary SQL on a victim's kernel when the package is imported and rendered, enabling read and write access across notebooks.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • siyuan-note siyuan

    fixed in 3.7.4

  • github.com/siyuan-note/siyuan/kernelGo

    fixed in 0.0.0-20260723035036-0a176345e02a

References 2

GitHub · siyuan-note/siyuan

vulncheck.com