Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2026-121265 EUVD-2026-119134GHSA-929q-6qm3-gx8h

SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update

Published Nov 7, 2026 · Updated Nov 10, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
— SQL-Abstract < 2.000003 2.000003

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libsql-abstract-perl No fix yet —
Debian 13 libsql-abstract-perl No fix yet —
Debian 12 libsql-abstract-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libsql-abstract-perl No fix yet —
Ubuntu 26.04 LTS libsql-abstract-perl No fix yet —
Ubuntu 24.04 LTS libsql-abstract-perl No fix yet —
Ubuntu 22.04 LTS libsql-abstract-perl No fix yet —
Ubuntu 20.04 LTS libsql-abstract-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libsql-abstract-perl No fix yet —
Ubuntu 16.04 LTS libsql-abstract-perl No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-SQL-Abstract 2.000002-1.1 openSUSE-SU-2026:12469-1
ReleasePackageFixed inAdvisory
Alpine v3.24 perl-sql-abstract 2.000003-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • googlesky/CVE-2026-121265 ★ 0 · Nov 8, 2026

    PoC for CVE-2026-121265 (SQL::Abstract < 2.000003 arrayref SQL injection, CWE-89): INSERT/UPDATE exfiltration, privilege escalation and generate()/AUTOLOAD vectors, validated in a containerized versi…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References