---
id: CVE-2026-61461
title: >-
  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 escapin…
summary: >-
  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 escapin…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-89
published: '2026-07-10'
updated: '2026-07-10'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-61461'
references:
  - url: >-
      https://github.com/langgenius/dify/commit/d9884efaeea8322706e24c560d2c17e5bf3fab5f
    label: disclosure@vulncheck.com
  - url: 'https://github.com/langgenius/dify/issues/38281'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/langgenius/dify/pull/38295'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/langgenius/dify/releases/tag/1.16.0-rc1'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/dify-rc1-sql-injection-via-myscale-vector-store-search-by-full-text
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00497
epssPercentile: 0.4008
ingestedAt: '2026-07-11T20:15:26.450Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
