CVE-2025-54119CWE-89

ADOdb's sqlite3 driver allows SQL injection

Critical · published August 5, 2025

CVSS v3.1
10.0
EPSS
1%
Percentile
42.2
In the wild
Unconfirmed
What it is

🔥 A crafty attacker could launch arbitrary SQL commands through a sneaky table name! This flaw in ADOdb affects versions 5.22.9 and below, making it a ticking time bomb for your database. 🚨 Think of ADOdb like a restaurant kitchen where chefs can only prepare dishes from a pre-set menu. If someone sneaks in a fake order with a cunning table name, they could whip up anything, including secret recipes and ingredients that should never be touched! An attacker could gain full control over your database, executing dangerous SQL commands that could expose sensitive data, modify records, or even wipe everything out. This is an absolutely devastating vulnerability that could leave your systems in chaos if exploited!

Put simply

Think of ADOdb like a restaurant kitchen where chefs can only prepare dishes from a pre-set menu. If someone sneaks in a fake order with a cunning table name, they could whip up anything, including secret recipes and ingredients that should never be touched! This vulnerability arises from improper escaping of query parameters in ADOdb, which allows attackers to manipulate SQL queries by providing specially crafted table names. When the affected methods (metaColumns(), metaForeignKeys(), or metaIndexes()) are called with these inputs, it opens the door to SQL injection attacks.

What to do

An attacker could gain full control over your database, executing dangerous SQL commands that could expose sensitive data, modify records, or even wipe everything out. This is an absolutely devastating vulnerability that could leave your systems in chaos if exploited! Upgrade ADOdb to version 5.22.10 immediately to patch this critical vulnerability. Additionally, ensure that only controlled data is passed to the $table parameter of the affected methods to mitigate risks. Regular code reviews can also help keep your database interactions secure. You've got this! With these steps, you'll bolster your defenses and keep your database safe! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00504 · 42.2th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-08-05T00:12Z
EPSS history
Timeline
  • 05 AUG 00:12Z
    ADOdb's sqlite3 driver allows SQL injection
    cvelistv5