CVE-2025-1793CWE-89

SQL Injection in run-llama/llama_index

Critical · published June 5, 2025

CVSS v3.0
9.8
EPSS
1%
Percentile
51.1
In the wild
Unconfirmed
What it is

🚨 SQL injection vulnerabilities lurk in multiple vector store integrations of llama_index v0.12.21. A crafty attacker could access or modify data as easily as slipping a note through an unsecured window! 🔥 Think of the llama_index library like a restaurant order system. If the kitchen doesn't check the orders closely, a sneaky customer could change their order to something completely different—like swapping a salad for a steak, leaving the original diner high and dry! An attacker could exploit these SQL injection vulnerabilities to read or write sensitive user data, potentially leading to unauthorized access to information that isn’t theirs. This could be absolutely devastating for users, as personal data can be exposed or manipulated without their knowledge!

Put simply

Think of the llama_index library like a restaurant order system. If the kitchen doesn't check the orders closely, a sneaky customer could change their order to something completely different—like swapping a salad for a steak, leaving the original diner high and dry! These vulnerabilities in the llama_index library allow attackers to inject SQL commands through improperly sanitized inputs, giving them the ability to interact with the database in unauthorized ways.

What to do

An attacker could exploit these SQL injection vulnerabilities to read or write sensitive user data, potentially leading to unauthorized access to information that isn’t theirs. This could be absolutely devastating for users, as personal data can be exposed or manipulated without their knowledge! Update the llama_index library to version v0.12.22 or later immediately to close these vulnerabilities. Additionally, review all inputs to ensure proper sanitization and validation to prevent future SQL injections. You've got this! With these steps, you'll be a security hero in no time! 🛡️

The record
Technical detail
CVSS v3.0
9.8 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00663 · 51.1th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-06-05T04:54Z
EPSS history
Timeline
  • 05 JUN 04:54Z
    SQL Injection in run-llama/llama_index
    cvelistv5