SQL injection in Perl SQL::Abstract via nested statement where values
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | SQL-Abstract | 1.90_01 to before 2.000001_04 | 2.000001_04 | Patch available | CNA |
- 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
Timeline
- 2026-11-04 Threatist record created from CVE-2026-121007
- 2026-11-04 Alias added: GHSA-24q3-fp2q-x646
- 2026-11-04 Affected versions changed · Red Hat
- 2026-11-04 CVSS score added · Red Hat
References
Sources
- CVE-2026-121007 · CVE Program
- CVE-2026-121007 · NVD
- FIRST EPSS
- GHSA-24q3-fp2q-x646 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-121007 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences