Skip to content
NewA calmer, faster ZeroHour
Vulnerability1 · 1 read

CVE-2026-121007

SQL injection in SQL::Abstract before 2.000001_04

CVSS 3.1
7.3 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-121007 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

SQL::Abstract for Perl allows SQL injection in versions before 2.000001_04 when passing untrusted input as the where value of a nested statement in an identifier position such as the select list or ORDER BY. Applications using such nested statements with untrusted data are vulnerable. Attackers can inject arbitrary SQL to execute on the database. Affected are users of SQL::Abstract versions 1.90_01 through 2.000001_03.

What to do: Upgrade to SQL::Abstract 2.000001_04 or later. No workaround mentioned.

ProductAffectedFixed in
CPAN SQL-Abstract1.90_01 before 2.000001_042.000001_04
Estimated exposure
nicheNo basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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.

Weakness
CWE-89
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

In the news

1 story