CVE-2026-121265 SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update
- Exploited in the wild
- Not known
- Fix
- 2.000003
What is CVE-2026-121265?
CVE-2026-121265 is a critical vulnerability, published on 7 Nov 2026.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2026-121265?
How do I fix CVE-2026-121265?
Upgrade the affected software to 2.000003 or later. The advisory says that version fixes it.
Is CVE-2026-121265 being exploited?
There is no known exploitation of CVE-2026-121265 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as ALPINE-CVE-2026-121265, DEBIAN-CVE-2026-121265, GHSA-929q-6qm3-gx8h, UBUNTU-CVE-2026-121265.