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.
History

Thu, 12 Nov 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Perl
Perl sql::abstract
Vendors & Products Perl
Perl sql::abstract

Thu, 12 Nov 2026 01:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 10 Nov 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Sat, 07 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
References

Sat, 07 Nov 2026 11:30:00 +0000

Type Values Removed Values Added
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.
Title SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update
Weaknesses CWE-89
References

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published: 2026-11-07T11:17:35.488Z

Updated: 2026-11-10T14:13:00.718Z

Reserved: 2026-11-03T10:57:51.108Z

Link: CVE-2026-121265

cve-icon Vulnrichment

Updated: 2026-11-07T21:04:25.585Z

cve-icon NVD

Status : Deferred

Published: 2026-11-07T12:17:44.973

Modified: 2026-11-12T20:07:11.090

Link: CVE-2026-121265

cve-icon Redhat

No data.