Improper escaping of a query parameter may allow an attacker to execute arbitrary SQL statements when the code using ADOdb connects to a sqlite3 database and calls the metaColumns(), metaForeignKeys() or metaIndexes() methods with a crafted table name.
Note that the indicated Severity corresponds to a worst-case usage scenario, e.g. allowing user-supplied data to be sent as-is to the above-mentioned methods.
SQLite3 driver.
Vulnerability is fixed in ADOdb 5.22.10 (https://github.com/ADOdb/ADOdb/commit/5b8bd52cdcffefb4ecded1b399c98cfa516afe03).
Only pass controlled data to metaColumns(), metaForeignKeys() and metaIndexes() method's $table parameter.
Thanks to Marco Nappi (@mrcnpp) for reporting this vulnerability.
{ "github_reviewed": true, "severity": "CRITICAL", "github_reviewed_at": "2025-08-04T15:12:03Z", "cwe_ids": [ "CWE-89" ], "nvd_published_at": "2025-08-05T01:15:41Z" }