{
 "id": "CVE-2026-61461",
 "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.",
 "published": "2026-07-10",
 "last_modified": "2026-10-25",
 "vuln_status": "Analyzed",
 "cna": "disclosure@vulncheck.com",
 "cvss": {
  "version": "4.0",
  "score": 8.7,
  "severity": "HIGH",
  "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
  "source": "disclosure@vulncheck.com"
 },
 "cwe": [
  "CWE-89"
 ],
 "products": [
  {
   "vendor": "dify",
   "product": "dify",
   "versions_affected": "< 1.16.0",
   "fixed_in": "1.16.0",
   "product_id": "dify"
  }
 ],
 "category": "framework",
 "surface": [],
 "kev": null,
 "fix": {
  "status": "fixed",
  "version": "1.16.0",
  "url": "https://github.com/langgenius/dify/commit/d9884efaeea8322706e24c560d2c17e5bf3fab5f"
 },
 "references": [
  {
   "url": "https://github.com/langgenius/dify/commit/d9884efaeea8322706e24c560d2c17e5bf3fab5f",
   "source": "disclosure@vulncheck.com",
   "tags": [
    "Patch"
   ]
  },
  {
   "url": "https://github.com/langgenius/dify/issues/38281",
   "source": "disclosure@vulncheck.com",
   "tags": [
    "Issue Tracking"
   ]
  },
  {
   "url": "https://github.com/langgenius/dify/pull/38295",
   "source": "disclosure@vulncheck.com",
   "tags": [
    "Issue Tracking",
    "Patch"
   ]
  },
  {
   "url": "https://github.com/langgenius/dify/releases/tag/1.16.0-rc1",
   "source": "disclosure@vulncheck.com",
   "tags": [
    "Release Notes"
   ]
  },
  {
   "url": "https://www.vulncheck.com/advisories/dify-rc1-sql-injection-via-myscale-vector-store-search-by-full-text",
   "source": "disclosure@vulncheck.com",
   "tags": [
    "Third Party Advisory"
   ]
  }
 ],
 "related_agents": [
  "langgenius-dify"
 ],
 "related_incidents": [],
 "match": {
  "tests": [
   "A:cpe"
  ],
  "terms": [
   "dify:dify:dify"
  ]
 },
 "status": "candidate",
 "note": null,
 "reviewer": null,
 "checked_on": null,
 "retrieved_on": "2026-10-26"
}