Bug 2568593 (CVE-2026-121265) - CVE-2026-121265 perl-sql-abstract: perl-sql-abstract: SQL injection via unescaped array values in database queries
Summary: CVE-2026-121265 perl-sql-abstract: perl-sql-abstract: SQL injection via unesc...
Keywords:
Status: NEW
Alias: CVE-2026-121265
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2568989 2568990
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-07 11:31 UTC by OSIDB Bzimport
Modified: 2026-11-09 08:28 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-07 11:31:19 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.