Skip to main content

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

CVE-2025-1793

Severity High
Score 9.8/10

Summary

Multiple vector store integrations in run-llama/llama_index versions prior to v0.12.28 have SQL Injection vulnerabilities. These vulnerabilities allow an attacker to read and write data using SQL, potentially leading to unauthorized access to the data of other users, depending on the usage of the llama-index library in a web application. The following llama_index vector store integration packages are affected: llama-index-vector-stores-jaguar, llama-index-vector-stores-couchbase, llama-index-vector-stores-singlestoredb, and llama-index-vector-stores-lantern packages in versions prior to 0.3.1, llama-index-vector-stores-deeplake in versions prior to 0.3.3, llama-index-vector-stores-nile in versions prior to 0.2.2, llama-index-vector-stores-clickhouse in versions prior to 0.4.1, and llama-index-vector-stores-oracledb in versions prior to 0.2.1.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-89 - SQL Injection

Structured Query Language (SQL) injection attacks are one of the most common types of vulnerabilities. They exploit weaknesses in vulnerable applications to gain unauthorized access to backend databases. This often occurs when an attacker enters unexpected SQL syntax in an input field. The resulting SQL statement behaves in the background in an unintended manner, which allows the possibility of unauthorized data retrieval, data modification, execution of database administration operations, and execution of commands on the operating system.

Advisory Timeline

  • Published