ADOdb's sqlite3 driver allows SQL injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
ADOdb is a PHP database class library that provides abstractions for performing queries and managing databases. In versions 5.22.9 and below, 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. This is fixed in version 5.22.10. To workaround this issue, only pass controlled data to metaColumns(), metaForeignKeys() and metaIndexes() method's $table parameter.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ADOdb | ADOdb | before 5.22.10 | 5.22.10 | Patch available | CNA |
| — | adodb/adodb-php (Packagist) | before 5.22.10 | 5.22.10 | Patch available | GHSA-vf2r-cxg9-p7rf |
- ADOdb VendorADOdb Affected before 5.22.10 Fixed in 5.22.10 Patch available CNA
- adodb/adodb-php (Packagist) Vendor— Affected before 5.22.10 Fixed in 5.22.10 Patch available GHSA-vf2r-cxg9-p7rf
Remediation
- Fix · CNA ADOdb (ADOdb) Fixed in 5.22.10
- Fix · GHSA-vf2r-cxg9-p7rf adodb/adodb-php (Packagist) Fixed in 5.22.10 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-54119
- 2026-10-03 Alias added: GHSA-vf2r-cxg9-p7rf
References
More ADOdb vulnerabilities
- TI-2025-29078 SQL injection in ADOdb PostgreSQL driver pg_insert_id() method CVSS 3.1CRITICAL 10.0
Sources
- CVE-2025-54119 · CVE Program
- CVE-2025-54119 · NVD
- FIRST EPSS
- GHSA-vf2r-cxg9-p7rf · GitHub Advisory Database · CC BY 4.0
- CVE-2025-54119 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences