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.
References
| Link | Resource |
|---|---|
| https://github.com/langgenius/dify/commit/d9884efaeea8322706e24c560d2c17e5bf3fab5f | Patch |
| https://github.com/langgenius/dify/issues/38281 | Issue Tracking |
| https://github.com/langgenius/dify/pull/38295 | Issue Tracking Patch |
| https://github.com/langgenius/dify/releases/tag/1.16.0-rc1 | Release Notes |
| https://www.vulncheck.com/advisories/dify-rc1-sql-injection-via-myscale-vector-store-search-by-full-text | Third Party Advisory |
Configurations
History
17 Jul 2026, 14:35
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Dify
Dify dify |
|
| CPE | cpe:2.3:a:dify:dify:*:*:*:*:*:*:*:* | |
| References | () https://github.com/langgenius/dify/commit/d9884efaeea8322706e24c560d2c17e5bf3fab5f - Patch | |
| References | () https://github.com/langgenius/dify/issues/38281 - Issue Tracking | |
| References | () https://github.com/langgenius/dify/pull/38295 - Issue Tracking, Patch | |
| References | () https://github.com/langgenius/dify/releases/tag/1.16.0-rc1 - Release Notes | |
| References | () https://www.vulncheck.com/advisories/dify-rc1-sql-injection-via-myscale-vector-store-search-by-full-text - Third Party Advisory |
10 Jul 2026, 19:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-10 19:17
Updated : 2026-07-17 14:35
NVD link : CVE-2026-61461
Mitre link : CVE-2026-61461
CVE.ORG link : CVE-2026-61461
JSON object : View
Products Affected
dify
- dify
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
