Advisory

GHSA-vf2r-cxg9-p7rf

Also known as: CVE-2025-54119

Summary

The ADOdb sqlite3 driver allows SQL injection

Details

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.

Impact
SQLite3 driver.

Patches
Vulnerability is fixed in ADOdb 5.22.10 (https://github.com/ADOdb/ADOdb/commit/5b8bd52cdcffefb4ecded1b399c98cfa516afe03).

Workarounds
Only pass controlled data to metaColumns(), metaForeignKeys() and metaIndexes() method's $table parameter.

Credits

Thanks to Marco Nappi (@mrcnpp) for reporting this vulnerability.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2025-08-04 15:12 UTC
Modified
2025-11-03 19:50 UTC

Affected packages and fixes

adodb/adodb-php

Packagist · All systems

Affected

  • introduced 0, fixed 5.22.10 (ecosystem)

Fixed versions

5.22.10

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences