SQL Injection in Dify
CVE-2026-61461
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.005 (41.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 42nd percentile — 41.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Dify
- Langgenius Dify — versions 0
Weakness classification (CWE)
References
- github.com/langgenius/dify/releases/tag/1.16.0-rc1 (release-notes, Release Notes)
- github.com/langgenius/dify/issues/38281 (technical-description, exploit, Issue Tracking)
- github.com/langgenius/dify/pull/38295 (issue-tracking, Patch, Issue Tracking)
- github.com/langgenius/dify/commit/d9884efaeea8322706e24c560d2c17e5bf3fab5f (Patch, patch)
- www.vulncheck.com/advisories/dify-rc1-sql-injection-via-myscale-vector-store-se… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-61461?
- CVE-2026-61461 is a high-severity vulnerability in Dify, classified under SQL Injection. CVSS score: 8.8/10. Published 2026-07-10.
- How severe is CVE-2026-61461?
- High severity. CVSS v3 base score is 8.8 out of 10.