Read the docs

SQL injection in SQL::Abstract for Perl via arrayref column values

Priority LOW 38CWE-89Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
SQL injection
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from CNA. Impact type from CWE-89.

Summary

SQL::Abstract for Perl versions before 2.000003 treat an arrayref column value as literal SQL in insert and update when the array_datatypes option is off, which is the default. The first element goes into the SQL text unescaped (CWE-89), and the rest become bind values. An application that passes request data, such as a JSON array, as column values to insert or update with default options allows SQL injection. Releases before 2.000003 also treat an arrayref in generate() as literal SQL.

Written with Claude Haiku 5.5 from the sources below · 2026-11-07

Description from the CNA

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.

Why it matters now

Fix Fixed SQL-Abstract: 2.000003

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—SQL-Abstractbefore 2.0000032.000003Patch availableCNA
  • SQL-Abstract Vendor— Affected before 2.000003 Fixed in 2.000003 Patch available CNA

Remediation

Upgrade SQL-Abstract to version 2.000003 or later.

Written with Claude Haiku 5.5 from the sources below · 2026-11-07

  • Fix · CNA SQL-Abstract Fixed in 2.000003

Timeline

  1. 2026-11-07 Threatist record created from CVE-2026-121265
  2. 2026-11-07 Alias added: GHSA-929q-6qm3-gx8h

References

Sources