---
id: CVE-2025-1793
aliases:
  - GHSA-v3c8-3pr6-gr7p
  - PYSEC-2026-394
title: llama_index vulnerable to SQL Injection
summary: llama_index vulnerable to SQL Injection
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
vendor: llama-index
product: llama-index
ecosystem: pip
affected:
  - llama-index < 0.12.28
patched:
  - llama-index 0.12.28
published: '2025-06-05'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:25.475091346Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-v3c8-3pr6-gr7p'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-1793'
  - url: >-
      https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e
  - url: 'https://github.com/advisories/GHSA-v3c8-3pr6-gr7p'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2026-394.yaml
  - url: 'https://github.com/run-llama/llama_index'
  - url: 'https://huntr.com/bounties/8cb1555a-9655-4122-b0d6-60059e79183c'
  - url: 'https://pypi.org/project/llama-index'
tags:
  - osv
  - pip
epss: 0.00663
epssPercentile: 0.49495
ingestedAt: '2026-07-21T19:04:57.625Z'
---

## Overview

Multiple vector store integrations in run-llama/llama_index version v0.12.21 have SQL injection vulnerabilities. These vulnerabilities allow an attacker to read and write data using SQL, potentially leading to unauthorized access to data of other users depending on the usage of the llama-index library in a web application.

## Affected packages

- `llama-index < 0.12.28`

## Remediation

Upgrade to a patched release:

- `llama-index 0.12.28`
