{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.16.0-rc1"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b5e35fc2fc48cb4b6b586e358ebd03b84a5a6e42"
            },
            {
              "fixed": "d9884efaeea8322706e24c560d2c17e5bf3fab5f"
            }
          ],
          "repo": "https://github.com/langgenius/dify",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61461.json"
  },
  "details": "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.",
  "id": "CVE-2026-61461",
  "modified": "2026-07-19T03:31:07.012401113Z",
  "published": "2026-07-10T18:10:35.462Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61461.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/langgenius/dify/releases/tag/1.16.0-rc1"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-61461"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/dify-rc1-sql-injection-via-myscale-vector-store-search-by-full-text"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/langgenius/dify/pull/38295"
    },
    {
      "type": "FIX",
      "url": "https://github.com/langgenius/dify/commit/d9884efaeea8322706e24c560d2c17e5bf3fab5f"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/langgenius/dify"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/langgenius/dify/issues/38281"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Dify \u003c 1.16.0-rc1 SQL Injection via MyScale Vector Store search_by_full_text"
}