SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update
- State
- Published
- Severity
- 9.8 Critical
- Published
- Nov 7, 2026
- Updated
- Nov 10, 2026
- Reserved
- Nov 3, 2026
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.
| Product | Versions |
|---|---|
| SQL-Abstract | before 2.000003 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 9.8 Critical | CISA-ADP |
Weaknesses
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.