CVE-2026-121009

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

Published Nov 4, 2026 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The SQL::Abstract Perl module from versions 1.90_01 until before 2.000001_04 skips the injection_guard check when a function name is supplied via the explicit -func parameter. This allows an attacker to inject arbitrary SQL code by controlling the function name, enabling adversaries to read, modify, or delete data in the database, and potentially execute other harmful commands depending on database privileges.

Affected Systems

Perl applications that use the SQL::Abstract module on CPAN, specifically those incorporating versions 1.90_01 through any release prior to 2.000001_04. The vulnerability is tied to the handling of the -func parameter for function names.

Risk and Exploitability

The EPSS score is < 1% and the CVSS score is 7.3, but the vulnerability is not listed in CISA KEV, so current exploitation metrics are uncertain. However, the flaw directly facilitates SQL injection, a high‑risk weakness (CWE‑89). Because the check is bypassed regardless of other safeguards, any application that relies on the injection guard for -func is vulnerable. The launch of the exploit would involve supplying a crafted function name to the -func option, making this a remotely exploitable attack vector.

Remediation

Vendor Solution

Upgrade to SQL-Abstract 2.000001_04 or later.


OpenCVE Recommended Actions

  • Upgrade SQL::Abstract to version 2.000001_04 or later
  • If immediate upgrade is not possible, replace usage of -func with -name or otherwise ensure function names are fully validated before use
  • Audit application code for any untrusted input that may reach the -func parameter and enforce strict checks or sanitize inputs to prevent injection

Generated by OpenCVE AI on November 15, 2026 at 10:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

Type Values Removed Values Added
Description 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.
Title SQL::Abstract versions from 1.90_01 before 2.000001_04 for Perl skip the injection_guard check for function names given with -func
Weaknesses CWE-89
References

Subscriptions

No data.

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 10, 2026, 12:49 PM
Reserved
Nov 3, 2026, 8:11 AM
Status
Deferred
Published
Nov 4, 2026, 3:17 PM
Modified
Nov 12, 2026, 8:07 PM