CPANSA-SQL-Abstract-2026-121007: SQL-Abstract vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-11-04T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-11-04T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 7.3 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2026-121007
Vulnerability DescriptionSQL::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 : Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| SQL-Abstract greater than or equal 1.90_01 and less than 2.000001_04 |
|
Fixed
- SQL-Abstract greater than or equal 2.000001_04
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-SQL-Abstract-2026-121007 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-sql-abstract-2026-121007.json - https://github.com/dbsrgits/sql-abstract/commit/79fc34e874b4edb441154eccddb04c57d5c1c90e.patch external
https://github.com/dbsrgits/sql-abstract/commit/79fc34e874b4edb441154eccddb04c57d5c1c90e.patch - https://metacpan.org/release/GETTY/SQL-Abstract-2.000001_04/changes external
https://metacpan.org/release/GETTY/SQL-Abstract-2.000001_04/changes - CVE-2026-121007 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-121007
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Wed Nov 4 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/