Read the docs
TI-2026-51033 Aliases CVE-2026-72807GHSA-x67c-8pwr-m8g3

SiYuan before v3.7.4 SQL Injection via queryBlocks template

Priority MEDIUM 40CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
High
Attack requirements
Present
Impact type
SQL injection, Code execution
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89 and CWE-1336.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00333 26th percentileScored 2026-11-07
Fix Fixed siyuan (siyuan-note): 3.7.4github.com/siyuan-note/siyuan/kernel (Go): 0.0.0-20260723035036-0a176345e02a

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
siyuan-notesiyuanbefore 3.7.43.7.4Patch availableCNA
—github.com/siyuan-note/siyuan/kernel (Go)before 0.0.0-20260723035036-0a176345e02a0.0.0-20260723035036-0a176345e02aPatch availableGHSA-x67c-8pwr-m8g3
  • siyuan Vendorsiyuan-note Affected before 3.7.4 Fixed in 3.7.4 Patch available CNA
  • github.com/siyuan-note/siyuan/kernel (Go) Vendor— Affected before 0.0.0-20260723035036-0a176345e02a Fixed in 0.0.0-20260723035036-0a176345e02a Patch available GHSA-x67c-8pwr-m8g3

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*——siyuan-note
  • cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* Versions — — ·siyuan-note

Remediation

  • Fix · CNA siyuan (siyuan-note) Fixed in 3.7.4
  • Fix · GHSA-x67c-8pwr-m8g3 github.com/siyuan-note/siyuan/kernel (Go) Fixed in 0.0.0-20260723035036-0a176345e02a Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    siyuan-note siyuan 3.7.4

    21 records Highest priority Priority HIGH 12 HIGH, 4 MEDIUM, 5 LOW

    Other records, highest priority first

    • TI-2026-51021 SiYuan before v3.7.4 Information Disclosure via Embed BlockPriority HIGH 79
    • TI-2026-51020 siyuan before v3.7.4 Session Cookie Key Disclosure via getConfPriority HIGH 79
    • TI-2026-51019 SiYuan before v3.7.4 Information Disclosure via /api/system/getConfPriority HIGH 79

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-72807
  2. 2026-10-03 Alias added: GHSA-x67c-8pwr-m8g3

References

  • TI-2026-48492 SiYuan before v3.7.3 SQL Injection via searchDocs CVSS 4.0CRITICAL 9.9
  • TI-2026-48491 SiYuan before v3.7.3 SQL Injection via searchEmbedBlock CVSS 4.0CRITICAL 9.9
  • TI-2026-48490 SiYuan before v3.7.3 SQL Injection via fullTextSearchAssetContent CVSS 4.0CRITICAL 9.9
  • TI-2026-47010 SiYuan before v3.7.2 Unauthenticated Administrator Takeover via MCP CVSS 4.0CRITICAL 10.0
  • TI-2026-26050 SiYuan has directory traversal within its publishing service CVSS 3.1CRITICAL 9.8
  • TI-2026-25256 SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API CVSS 3.1CRITICAL 9.8
See all 242 →

Sources