{"id":"CVE-2026-100644","published":"2026-09-26T14:16:46.583","lastModified":"2026-09-28T17:17:43.683","description":"SiYuan before v3.8.4 contains a SQL injection vulnerability in the graph query endpoint where the dailyNoteSavePath parameter is concatenated into SQL without escaping. Unauthenticated attackers on published sites with auth disabled can inject SQL via UNION SELECT to extract arbitrary database rows from all notebooks.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cwes":["CWE-89"],"vendors":[],"products":[],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xr4h-j7cg-q8pc","tags":[]},{"url":"https://www.vulncheck.com/advisories/siyuan-before-3.8.4-sql-injection-via-dailynotesavepath","tags":[]},{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xr4h-j7cg-q8pc","tags":[]}],"exploitRefs":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xr4h-j7cg-q8pc","tags":[]},{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xr4h-j7cg-q8pc","tags":[]}],"hasPoc":true,"ai":{"summary":"A SQL injection vulnerability in SiYuan's graph query endpoint allows unauthenticated attackers to inject arbitrary SQL and extract data from all notebooks without any authentication or user interaction.","exploitability":"Relatively easy to exploit with no prerequisites, as attackers can directly inject SQL via UNION SELECT against the dailyNoteSavePath parameter on published sites with auth disabled.","blast_radius":"The vulnerability could lead to exposure of sensitive data from all notebooks in affected SiYuan instances, potentially including personal notes, documents, and other content stored in the database.","remediation":"Upgrade to SiYuan v3.8.4 or later to remediate the SQL injection vulnerability.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["sql-injection","unauthenticated","database"],"model":"garnet-coder","analyzedAt":"2026-10-18T10:30:23.928Z"}}