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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libsql-abstract-perl | No fix yet | — |
| Debian 13 | libsql-abstract-perl | No fix yet | — |
| Debian 12 | libsql-abstract-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libsql-abstract-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libsql-abstract-perl | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-SQL-Abstract | 2.000002-1.1 | openSUSE-SU-2026:12469-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.
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
- openSUSE-SU-2026:12469-1 perl-SQL-Abstract-2.000002-1.1 on GA media SUSE / openSUSE Security Updates · Nov 7, 2026