SQL Injection Affecting adodb/adodb-php package, versions <5.22.10


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-ADODBADODBPHP-11445441
  • published5 Aug 2025
  • disclosed5 Aug 2025
  • creditMarco Nappi

Introduced: 5 Aug 2025

NewCVE-2025-54119  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade adodb/adodb-php to version 5.22.10 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection via improper escaping of query parameters in the metaColumns(), metaForeignKeys(), or metaIndexes() methods when connecting to a sqlite3 database. An attacker can execute arbitrary SQL statements by supplying a crafted table name to these methods.

Workaround

This vulnerability can be mitigated by only passing controlled data to the $table parameter of the affected methods.

CVSS Base Scores

version 4.0
version 3.1