8.7high
Dify < 1.16.0-rc1 SQL Injection via MyScale Vector Store search_by_full_text
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| langgenius dify | before 1.16.0-rc1 | CVE List |
| dify dify | before 1.16.0 | NVD |
All scores
| VulnCheck | 8.7high CVSS:4.0 | 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 |
| VulnCheck | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Dify antes de 1.16.0-rc1 contiene una vulnerabilidad de inyección SQL en el backend de almacenamiento vectorial MyScale que permite a los atacantes ejecutar SQL arbitrario al proporcionar parámetros de búsqueda no saneados al método search_by_full_text sin escape o parametrización. Los atacantes pueden inyectar SQL malicioso a través de los parámetros de búsqueda para leer, modificar o eliminar datos en la base de datos ClickHouse subyacente.
References
| https://github.com/langgenius/dify/releases/tag/1.16.0-rc1 | release-notes | |
| https://github.com/langgenius/dify/issues/38281 | exploit, issue-tracking, technical-description | |
| https://github.com/langgenius/dify/pull/38295 | issue-tracking, patch | |
| https://github.com/langgenius/dify/commit/d9884efaeea8322706e24c560d2c17e5bf3fab5f | patch | |
| https://www.vulncheck.com/advisories/dify-rc1-sql-injection-via-myscale-vector-store-search-by-full-text | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-61461 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-61461 changed 2026-10-25 | Public domain |