CVEfocus › CVE database › CVE-2026-121007

CVE-2026-121007SQL::Abstract versions from 1.90_01 before 2.000001_04 for Perl allow SQL injection via…

CVSS 7.3 HighEPSS 0.2% (higher than 16% of CVEs)Published 2026-11-04Updated 2026-11-10Assigner: CPANSec

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.

CWE-89

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
7Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libsql-abstract-perlFix pendingUBUNTU-CVE-2026-121007
Ubuntu 26.04libsql-abstract-perlUnder investigationUBUNTU-CVE-2026-121007
Ubuntu 24.04libsql-abstract-perlUnder investigationUBUNTU-CVE-2026-121007
Ubuntu 22.04libsql-abstract-perlUnder investigationUBUNTU-CVE-2026-121007
Ubuntu 20.04libsql-abstract-perlFix pendingUBUNTU-CVE-2026-121007
Ubuntu 18.04libsql-abstract-perlFix pendingUBUNTU-CVE-2026-121007
Ubuntu 16.04libsql-abstract-perlFix pendingUBUNTU-CVE-2026-121007
Debian 14libsql-abstract-perlFix pendingDEBIAN-CVE-2026-121007
Debian 13libsql-abstract-perlFix pendingDEBIAN-CVE-2026-121007
Debian 12libsql-abstract-perlFix pendingDEBIAN-CVE-2026-121007
Alpine Linux 3.24perl-sql-abstractFixed2.000003-r0ALPINE-CVE-2026-121007

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to SQL-Abstract 2.000001_04 or later.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.