Skip to content
OpenAdvisories
High · 7.3 CVE-2026-121007 EUVD-2026-116927GHSA-24q3-fp2q-x646

SQL::Abstract versions from 1.90_01 before 2.000001_04 for Perl allow SQL injection via the where values of a nested statement in an identifier position

Published Nov 4, 2026 · Updated Nov 10, 2026 · Assigned by CPANSec

Description

SQL::Abstract versions from 1.90_01 before 2.000001_04 for Perl allow SQL injection via the where values of a nested statement in an identifier position.

A nested statement such as { -select => ... } in a position where plain scalars are identifiers treats its own plain scalars as identifiers too. These positions are the select list, ORDER BY, GROUP BY, RETURNING, and with the ExtraClauses plugin FROM (-as) and JOIN (to). The values of the statement's where, having and set clauses, and the rows of a -values, go into the SQL text instead of the bind list, unescaped unless quote_char is set. Subselects in a WHERE condition are not affected.

An application that passes untrusted input as a where value of such a nested statement, expecting it to be bound, allows SQL injection.

Affected products

VendorProductAffectedFixed
— SQL-Abstract 1.90_01 – < 2.000001_04 2.000001_04

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libsql-abstract-perl No fix yet —
Debian 13 libsql-abstract-perl No fix yet —
Debian 12 libsql-abstract-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libsql-abstract-perl No fix yet —
Ubuntu 26.04 LTS libsql-abstract-perl No fix yet —
Ubuntu 24.04 LTS libsql-abstract-perl No fix yet —
Ubuntu 22.04 LTS libsql-abstract-perl No fix yet —
Ubuntu 20.04 LTS libsql-abstract-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libsql-abstract-perl No fix yet —
Ubuntu 16.04 LTS libsql-abstract-perl No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-SQL-Abstract 2.000002-1.1 openSUSE-SU-2026:12469-1
ReleasePackageFixed inAdvisory
Alpine v3.24 perl-sql-abstract 2.000003-r0 —

Advisories 1

References