CVE-2026-121265
AI summary
SQL::Abstract for Perl before 2.000003 treats arrayref column values in insert and update as literal SQL by default, so applications passing request data (e.g. JSON arrays) as column values allow remote SQL injection. Critical (CVSS 9.8); upgrade to 2.000003.
Official 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.
- Published
- 2026-11-07 12:17 UTC
- Modified
- 2026-11-12 20:07 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 0.57% (percentile 41)
- ENISA EUVD
- EUVD-2026-119134
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-89
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- metacpan.org
https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/changes - metacpan.org
https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/diff/GETTY/SQL-Abstract-2.000001_04 - www.openwall.com
http://www.openwall.com/lists/oss-security/2026/11/07/10