CVE-2026-121265
Received Received - Intake

SQL Injection in SQL::Abstract Perl Module

Vulnerability report for CVE-2026-121265, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-07

Last updated on: 2026-11-07

Assigner: CPANSec

Description

SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update. With the array_datatypes option off, which is the default, insert(), update() and values() treat an arrayref column value as literal SQL. Its first element goes into the SQL text unescaped and the rest become bind values. A JSON array, or a repeated form field decoded as an arrayref, is such a value. An application that passes request data as column values to insert or update with the default options allows SQL injection. Releases before 2.000003 also treat an arrayref in generate() as literal SQL, including through AUTOLOAD when allow_autoload is on, whatever array_datatypes is set to.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-07
Last Modified
2026-11-07
Generated
2026-11-07
AI Q&A
2026-11-07
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a SQL injection flaw in SQL::Abstract versions before 2.000003 for Perl. It occurs when arrayref column values are passed to insert or update functions without proper escaping. The first element of the arrayref is inserted directly into SQL queries without sanitization, allowing attackers to inject malicious SQL code.

Impact Analysis

This vulnerability allows attackers to execute arbitrary SQL commands on the database. If exploited, it could lead to unauthorized data access, data manipulation, or deletion. Applications passing user input directly as column values are at risk.

Compliance Impact

This vulnerability could lead to data breaches, violating GDPR and HIPAA requirements for data protection. Unauthorized SQL access may expose sensitive personal or health data, resulting in legal penalties and loss of compliance certifications.

Mitigation Strategies

Upgrade SQL::Abstract to version 2.000003 or later to fix the SQL injection vulnerability in insert, update, and values functions.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-121265. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...