Read the docs

SQL injection in Perl SQL::Abstract via nested statement where values

Priority LOW 22CWE-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 versions from 1.90_01 before 2.000001_04 for Perl allow SQL injection. A nested statement in an identifier position, such as the select list or ORDER BY, places the values of its where, having and set clauses into the SQL text instead of the bind list, unescaped unless quote_char is set (CWE-89). An application that passes untrusted input as a where value of such a nested statement, expecting it to be bound, allows SQL injection.

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

Description from the CNA

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.

Why it matters now

EPSS 0.00179 7th percentileScored 2026-11-07
Fix Fixed SQL-Abstract: 2.000001_04

SSVC decision points

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

Affected products

VendorProductAffected versionsFixed inStatusSource
—SQL-Abstract1.90_01 to before 2.000001_042.000001_04Patch availableCNA
  • SQL-Abstract Vendor— Affected 1.90_01 to before 2.000001_04 Fixed in 2.000001_04 Patch available CNA

Remediation

Upgrade SQL::Abstract to version 2.000001_04.

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

  • Fix · CNA SQL-Abstract Fixed in 2.000001_04

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-11-04 Threatist record created from CVE-2026-121007
  2. 2026-11-04 Alias added: GHSA-24q3-fp2q-x646
  3. 2026-11-04 Affected versions changed · Red Hat
  4. 2026-11-04 CVSS score added · Red Hat

References

Sources