# CVE-2026-121265: SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-11-07T11:17:35.488Z
- Modified: 2026-11-12T20:07:11.090Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- SQL-Abstract: before 2.000003

## References

- <https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/changes> (release-notes)
- <https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/diff/GETTY/SQL-Abstract-2.000001_04>
- <http://www.openwall.com/lists/oss-security/2026/11/07/10>

## Sources

- CVE List: [CVE-2026-121265](https://www.cve.org/CVERecord?id=CVE-2026-121265), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-121265](https://nvd.nist.gov/vuln/detail/CVE-2026-121265), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-121265 · Whole record: https://cve.day/CVE-2026-121265.json · Rebuilt by cve.day 2026-11-25T22:59:49.439Z
