Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. llama-index
  4. ›
  5. CVE-2025-1793

CVE-2025-1793: llama_index vulnerable to SQL Injection

June 5, 2025 (updated June 6, 2025)

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.

References

  • github.com/advisories/GHSA-v3c8-3pr6-gr7p
  • github.com/run-llama/llama_index
  • github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e
  • huntr.com/bounties/8cb1555a-9655-4122-b0d6-60059e79183c
  • nvd.nist.gov/vuln/detail/CVE-2025-1793

Code Behaviors & Features

Detect and mitigate CVE-2025-1793 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.12.28

Fixed versions

  • 0.12.28

Solution

Upgrade to version 0.12.28 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

pypi/llama-index/CVE-2025-1793.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:05 +0000.