CVE-2026-121009 PUBLISHED

SQL::Abstract versions from 1.90_01 before 2.000001_04 for Perl skip the injection_guard check for function names given with -func

Assigner: CPANSec
Reserved: 03.11.2026 Published: 04.11.2026 Updated: 04.11.2026

SQL::Abstract versions from 1.90_01 before 2.000001_04 for Perl skip the injection_guard check for function names given with -func.

injection_guard is documented to apply to every function name, but only the { -name => ... } shorthand goes through it. The explicit { -func => [ $name, ... ] } form puts $name into the SQL unchecked.

An application that relies on injection_guard to reject an untrusted function name passed with -func allows SQL injection.

Product Status

Package Collection https://cpan.org/modules
Package Name SQL-Abstract
Versions Default: unaffected
  • affected from 1.90_01 to 2.000001_04 (excl.)

Solutions

Upgrade to SQL-Abstract 2.000001_04 or later.

References

Problem Types

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE