Skip to main content

SQL::Abstract EUVDEUVD-2026-119134

| CVE-2026-121265 CRITICAL
SQL Injection (CWE-89)
2026-11-07 CPANSec GHSA-929q-6qm3-gx8h
9.8
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify app binding request data to columns
  2. Delivery
    Submit column value as JSON/array arrayref
  3. Exploit
    First element injected as literal SQL
  4. Execution
    SQL::Abstract builds unescaped query
  5. Persist
    Database executes attacker SQL
  6. Impact
    Read/modify database data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an application that (1) uses SQL::Abstract before 2.000003, (2) runs with the default array_datatypes=off setting, and (3) passes attacker-controlled data as column values to insert(), update(), or values() - specifically a value that decodes to an arrayref, such as a JSON array or a repeated HTML form field. Under these conditions the arrayref's first element is placed into the SQL text unescaped. A separate path affects generate() (including via AUTOLOAD when allow_autoload is enabled), which treats an arrayref as literal SQL regardless of the array_datatypes setting. The main limiting factor is application-side: the app must actually bind untrusted request data directly to column values; applications that validate/normalize inputs to scalars, or that enable array_datatypes, are not exposed via the insert/update path. No authentication or user interaction is required (PR:N/UI:N) against an affected code path. The complete fix is upgrading to 2.000003.

Impact

Severity signals and real-world signals diverge here. The input CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, 9.8) describes classic unauthenticated remote SQL injection (CWE-89) with full confidentiality, integrity and availability impact on the database - the worst-case class. The vendor/triage signal reinforces urgency: the vuln.today Decision label is act_now and it was reported by CPANSec (the Perl security team). Against that, the exploitation-probability signals are modest: EPSS is only 0.32% (25th percentile), the CVE is NOT listed in CISA KEV, and no working exploit code is confirmed in the references (they are changelogs, a patch diff, and advisories, not a weaponized PoC). The reconciling factor is that this is a library flaw, not a turnkey endpoint: exploitability depends on whether a given downstream application actually passes attacker-controlled arrayref values (decoded JSON arrays or repeated form fields) as column values to insert()/update()/generate() under the default array_datatypes=off setting. So the CVSS network/low-complexity/no-auth rating is accurate for an affected application, but the low EPSS likely reflects that automated mass-scanning cannot reliably fingerprint which deployments feed arrayref data into these calls. Net: a genuine high priority for teams running SQL::Abstract-backed web apps that bind request data to column values - the act_now label is justified - but the absence of KEV and low EPSS indicate exploitation is conditional on application coding patterns rather than universally sprayable.

Exploit ScenarioDerived

A Perl web application decodes a JSON request body (or repeated form fields) and passes the resulting values directly as column values to SQL::Abstract's insert() or update(). An attacker submits a column value as a JSON array; because array_datatypes is off by default, the array's first element is interpolated into the SQL text unescaped while the remaining elements become bind values, letting the attacker inject arbitrary SQL. No public working exploit is confirmed, but the fix diff is publicly available and the trigger pattern is simple, so exploitation requires no special privileges or user interaction once a vulnerable code path is reached.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 10, 2026

SQL injection in the Perl module SQL::Abstract before 2.000003 lets unauthenticated remote attackers inject SQL whenever an application passes attacker-controlled data as column values to insert(), update() or values() and that data decodes to an arrayref, such as a JSON array or a repeated form field. With the default array_datatypes option off, the arrayref's first element is placed into the SQL text unescaped while the remaining elements become bind values (CVSS 3.1 base 9.8, AV:N/AC:L/PR:N/UI:N, CWE-89); a related path in generate(), including via AUTOLOAD when allow_autoload is enabled, treats arrayrefs as literal SQL regardless of the array_datatypes setting. Real-world signals diverge from the severity score: EPSS is only 0.32% (25th percentile), there is no CISA KEV entry, and no public exploit has been identified at time of analysis, yet the vuln.today decision label is act_now because exposure depends entirely on whether a given application binds untrusted request data directly to column values. The complete fix is upgrading to 2.000003.

RemediationAI

Upgrade SQL::Abstract to 2.000003, which the sources identify as the complete fix for both the insert()/update()/values() arrayref interpolation and the generate()/AUTOLOAD literal-SQL handling; verify the installed version at the distribution changelog https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/changes and the patch diff https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/diff/GETTY/SQL-Abstract-2.000001_04. Where an immediate upgrade is not possible, the exposure on the insert/update path can be closed at the application boundary by validating and normalizing request-derived values to scalars before they reach insert(), update() or values(), or by enabling array_datatypes so arrayrefs are expanded as data rather than injected as SQL text - with the trade-off that enabling the option changes query-building semantics for every caller and can break existing code that intentionally passes literal SQL fragments through arrayrefs. The generate() path is not covered by array_datatypes, so also disable allow_autoload if the application does not depend on AUTOLOAD-generated methods, accepting that any code relying on that dispatch will fail. Application-side input normalization requires auditing every call site that forwards decoded JSON or repeated form parameters as column values, since a single unnormalized path reintroduces the injection. Advisory and disclosure detail is available at https://seclists.org/oss-sec/2026/q4/574 and http://www.openwall.com/lists/oss-security/2026/11/07/10.

Affected ProductsAI

All releases of the Perl distribution SQL::Abstract (CPAN author GETTY) before 2.000003 are affected, on any platform where the module is installed; no CPE strings were provided in the source data, so scoping must be done by installed module version. The insert/update/values exposure applies specifically to installations retaining the default array_datatypes=off setting, while the generate()/AUTOLOAD issue applies regardless of that setting. The fix lands in SQL::Abstract 2.000003, described in the distribution changelog at https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/changes, with the code delta visible at https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/diff/GETTY/SQL-Abstract-2.000001_04. Coordinated disclosure details are in the oss-security thread (https://seclists.org/oss-sec/2026/q4/574 and http://www.openwall.com/lists/oss-security/2026/11/07/10), with additional tracking at https://nvd.nist.gov/vuln/detail/CVE-2026-121265, ENISA EUVD-2026-119134, and https://vuldb.com/vuln/432587.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SQL::Abstract is a long-standing CPAN library that builds SQL statements from Perl data structures, and it is the query-construction layer beneath much Perl application and ORM code. The root cause is CWE-89: when the array_datatypes option is disabled - the default - an arrayref supplied as a column value is not treated as structured data but as a literal SQL fragment. Its first element is interpolated directly into the generated SQL text without escaping, and subsequent elements are shifted into the placeholder list as bind values, so an attacker who controls the arrayref's leading element controls raw SQL. This differs from the abstract's intended contract, where literal SQL is an explicit developer opt-in; here ordinary decoded input (a JSON array, a repeated HTML form field) silently takes the literal-SQL path. A second, independent path affects generate(): before 2.000003 an arrayref passed there is always treated as literal SQL, and this is reachable through AUTOLOAD method dispatch when allow_autoload is enabled, independent of the array_datatypes setting. The sources describe the trigger precisely as arrayref column values reaching insert(), update(), values(), or generate(); no other trigger mechanics are stated. No CPE identifiers were supplied with the intelligence, so the affected scope is defined by the CPAN distribution (GETTY/SQL-Abstract) and the version boundary rather than by platform CPEs. Authentication requirements are unconfirmed by description alone but the assessed vector carries PR:N/UI:N, so reachable code paths require no credentials or user interaction.

Know when Perl gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CPANSec) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Unauthenticated remote SQL injection via arrayref column values under default settings yields full DB read/write/destroy, so AV:N/AC:L/PR:N/UI:N and C:H/I:H/A:H.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Nov 10, 2026 - 14:22 NVD
9.8 (CRITICAL)
CVE Published
Nov 07, 2026 - 11:17 cve.org
CRITICAL 9.8
CVE Published
Nov 07, 2026 - 11:17 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2026-121265 is a critical SQL injection vulnerability in the widely-used Perl module SQL::Abstract, affecting any application that passes untrusted request data to its insert, update, or values methods. Successful exploitation could allow an unauthenticated attacker to read, modify, or delete sensitive database contents, with potential compliance and operational consequences. Leadership should prioritize inventorying Perl-based applications and coordinating a risk-based response, as exposure is entirely dependent on how each application uses the module.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include enforcing strict input validation to coerce user-controlled data to scalar values before passing to SQL::Abstract methods, avoiding the use of arrayrefs from untrusted sources in insert(), update(), and values(), and disabling the allow_autoload option if set.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
widely-used Perl DB abstraction library, but Perl app footprint is moderate
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in Perl

View all
CVE-2012-6329 HIGH POC
7.5 Jan 04

The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand

CVE-2017-12814 CRITICAL POC
9.8 Sep 28

Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before

CVE-2015-8608 CRITICAL POC
9.8 Feb 07

The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of

CVE-2018-18314 CRITICAL POC
9.8 Dec 07

Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated

CVE-2018-18312 CRITICAL POC
9.8 Dec 05

Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid

CVE-2026-13221 CRITICAL POC
9.1 Jul 13

Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a

CVE-2018-18313 CRITICAL POC
9.1 Dec 07

Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa

CVE-2016-2381 HIGH
7.5 Apr 08

Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e

CVE-2023-31484 HIGH POC
8.1 Apr 29

CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS

CVE-2016-6185 HIGH POC
7.8 Aug 02

The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig

CVE-2018-12015 HIGH POC
7.5 Jun 07

In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha

CVE-2020-10543 HIGH
8.2 Jun 05

Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy