CVE-2026-121265 Affecting perl-sql-abstract package, versions <2.000003-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.57% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE324-PERLSQLABSTRACT-22281659
  • published8 Nov 2026
  • disclosed7 Nov 2026

Introduced: 7 Nov 2026

NewCVE-2026-121265  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 perl-sql-abstract to version 2.000003-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-sql-abstract package and not the perl-sql-abstract package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

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.