SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update
Summary
| CVE | CVE-2026-121265 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-07 12:17:44 UTC |
| Updated | 2026-11-07 12:17:44 UTC |
| Description | SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update. With the array_datatypes option off, which is the default, insert(), update() and values() treat an arrayref column value as literal SQL. Its first element goes into the SQL text unescaped and the rest become bind values. A JSON array, or a repeated form field decoded as an arrayref, is such a value. An application that passes request data as column values to insert or update with the default options allows SQL injection. Releases before 2.000003 also treat an arrayref in generate() as literal SQL, including through AUTOLOAD when allow_autoload is on, whatever array_datatypes is set to. |
Risk And Classification
Problem Types: CWE-89 | CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
There are no known software configurations currently associated with this CVE in NVD or the CVE Program record.
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| metacpan.org/release/GETTY/SQL-Abstract-2.000003/changes | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| metacpan.org/release/GETTY/SQL-Abstract-2.000003/diff/GETTY/SQL-Abstract-2... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-11-03T00:00:00.000Z | SQL::Abstract version 2.000001_05 was released with an incomplete fix for this issue. |
| CNA | 2026-11-05T00:00:00.000Z | SQL::Abstract version 2.000002 was released based on version 2.000001_05. |
| CNA | 2026-11-06T00:00:00.000Z | SQL::Abstract version 2.000003 was released. |
Solutions
CNA: Upgrade to SQL-Abstract 2.000003 or later.
There are currently no legacy QID mappings associated with this CVE.