Dify < 1.16.0-rc1 SQL Injection via MyScale Vector Store search_by_full_text
langgenius dify
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| langgenius dify |
| No fix yet |
Original description
Dify before 1.16.0-rc1 contains a SQL injection vulnerability in the MyScale vector store backend that allows attackers to execute arbitrary SQL by supplying unsanitized search parameters to the search_by_full_text method without escaping or parameterization. Attackers can inject malicious SQL through the search parameters to read, modify, or delete data in the underlying ClickHouse database.
From the CVE record · VulnCheck
References
- github.com/langgenius/dify/releases/tag/1.16.0-rc1Release notes
- github.com/langgenius/dify/issues/38281Exploit
- github.com/langgenius/dify/pull/38295Patch
- github.com/langgenius/dify/commit/d9884efaeea8322706e24c560d2c17e5bf3fab5fPatch
- vulncheck.com/advisories/dify-rc1-sql-injection-via-myscale-vector-store-search-by-full-textAdvisory
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61461.json
- nvd.nist.gov/vuln/detail/CVE-2026-61461
- github.com/langgenius/dify