CVE-2025-27135CWE-89

RAGFlow SQL Injection vulnerability

High · published February 25, 2025

CVSS v4.0
8.9
EPSS
1%
Percentile
49.2
In the wild
Unconfirmed
What it is

⚡ SQL injection alert in RAGFlow! Versions 0.15.1 and earlier are vulnerable, meaning attackers could pull off some serious database gymnastics. 🔥 Think of it like a restaurant where the chef takes orders directly from the customers without checking if they’re valid. One bad order can lead to the wrong dish ending up in front of everyone, potentially poisoning the whole night! An attacker can exploit this vulnerability to manipulate database queries, leading to data leaks or even full database control. This could be absolutely devastating for your application and its users, potentially exposing sensitive information or worse!

Put simply

Think of it like a restaurant where the chef takes orders directly from the customers without checking if they’re valid. One bad order can lead to the wrong dish ending up in front of everyone, potentially poisoning the whole night! This SQL injection vulnerability allows attackers to send malicious SQL statements via the ExeSQL component. It extracts SQL directly from input without proper validation, making it easy for attackers to execute harmful queries against the database.

What to do

An attacker can exploit this vulnerability to manipulate database queries, leading to data leaks or even full database control. This could be absolutely devastating for your application and its users, potentially exposing sensitive information or worse! Currently, no patched version is available, but you should monitor for updates from RAGFlow. In the meantime, consider implementing input validation and using parameterized queries to mitigate the risk of SQL injection. 🎯 You've got this—stay vigilant and secure your app! 🛡️

The record
Technical detail
CVSS v4.0
8.9 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
EPSS
0.00621 · 49.2th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-02-25T18:16Z
EPSS history
Timeline
  • 25 FEB 18:16Z
    RAGFlow SQL Injection vulnerability
    cvelistv5