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.
Affected software
- Dify.ai < 1.16.0-rc1 Fixed in: 1.16.0-rc1 repository or package match
Details
- Published
- 2026-07-11
- Last modified
- 2026-11-08
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- CWE
- CWE-89
- EPSS (30-day exploit probability)
- 0.50% (percentile 43)
References
- cve.org/CVE-2026-61461
- nvd.nist.gov/vuln/detail/CVE-2026-61461
- github.com/langgenius/dify/releases/tag/1.16.0-rc1
- github.com/langgenius/dify/issues/38281
- github.com/langgenius/dify/pull/38295
- github.com/langgenius/dify/commit/d9884efaeea8322706e24c560d2c17e5bf3fab5f
- www.vulncheck.com/advisories/dify-rc1-sql-injection-via-myscale-vector-store-search-by-ful...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.