Dify < 1.16.0-rc1 SQL Injection via MyScale Vector Store search_by_full_text
41Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 8.7epss 0.4%
exploitation probability
0.4%top 72% of all CVEs
observed exploitation
nono source reports it
1 public exploit(s)
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.
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
Affected products
langgenius · difypublic PoCs found — 1
cve_referencegithub.com/langgenius/dify/issues/38281unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
References
https://github.com/langgenius/dify/commit/d9884efaeea8322706e24c560d2c17e5bf3fab5fhttps://github.com/langgenius/dify/issues/38281https://github.com/langgenius/dify/pull/38295https://github.com/langgenius/dify/releases/tag/1.16.0-rc1https://www.vulncheck.com/advisories/dify-rc1-sql-injection-via-myscale-vector-store-search-by-full-text