Bug 2568593 (CVE-2026-121265)

Summary: CVE-2026-121265 perl-sql-abstract: perl-sql-abstract: SQL injection via unescaped array values in database queries
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in SQL::Abstract. By default, the library improperly treats array reference values supplied to database insert and update operations as literal Structured Query Language (SQL) statements without escaping. A remote attacker can exploit this issue by submitting crafted input, such as an array, to an application that passes untrusted parameters directly to these database operations. Successful exploitation allows an attacker to execute arbitrary database commands, potentially exposing, modifying, or deleting sensitive information.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2568989, 2568990    
Bug Blocks:    

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.