Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2026-121265: Perl SQL::Abstract before 2.0.0 can let attackers run unwanted database commands
CVE-2026-121265 · published 15 days ago
Summary
The Perl library SQL::Abstract, in versions prior to 2.0.0, treats certain list inputs as raw SQL when inserting or updating data. If a web application passes user‑supplied list data directly to these functions, an attacker could inject malicious SQL statements. Upgrade the library to version 2.0.0 or later, or ensure that no array values are passed to insert or update without proper sanitisation.
What to do
- Update perl-sql-abstract to version 2.000003-r0.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Debian:12 | debian | libsql-abstract-perl | All versions |
| Alpine:v3.24 | – | perl-sql-abstract |
< 2.000003-r0 Fix: upgrade to 2.000003-r0
|
| Ubuntu:16.04:LTS | canonical | libsql-abstract-perl | All versions |
Original advisory text
SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update
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.
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.
References
- https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/changes Vendor Advisory
- https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/diff/GETTY/SQL-Abstract... URL
- https://security-tracker.debian.org/tracker/CVE-2026-121265 Vendor Advisory
- https://security.alpinelinux.org/vuln/CVE-2026-121265 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-121265 Third Party Advisory
- http://www.openwall.com/lists/oss-security/2026/11/07/10 URL
- https://cpan.org/modules URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-1212... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-121265 Vendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-121265 Third Party Advisory
- https://lists.security.metacpan.org/cve-announce/msg/44960723/ Third Party Advisory
- https://github.com/dbsrgits/sql-abstract Product
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Severity
9.8
Critical
Type
CWE-89SQL Injection
Timeline
Published7 Nov 2026
Updated21 Nov 2026
First seen7 Nov 2026
Sources
CVE-2026-121265 · NVD
CVE-2026-121265 · MITRE
DEBIAN-CVE-2026-121265 · OSV
ALPINE-CVE-2026-121265 · OSV
UBUNTU-CVE-2026-121265 · OSV
CVE-2026-121265 · OSV
Track software like this
Free during beta