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.
Metrics
Affected Vendors & Products
References
History
Thu, 12 Nov 2026 20:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Perl
Perl sql::abstract |
|
| Vendors & Products |
Perl
Perl sql::abstract |
Thu, 12 Nov 2026 01:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Tue, 10 Nov 2026 14:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
Sat, 07 Nov 2026 21:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Sat, 07 Nov 2026 11:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | SQL::Abstract versions before 2.000003 for Perl allow SQL injection via an arrayref column value in insert and update | |
| Weaknesses | CWE-89 | |
| References |
|
Status: PUBLISHED
Assigner: CPANSec
Published: 2026-11-07T11:17:35.488Z
Updated: 2026-11-10T14:13:00.718Z
Reserved: 2026-11-03T10:57:51.108Z
Link: CVE-2026-121265
Updated: 2026-11-07T21:04:25.585Z
Status : Deferred
Published: 2026-11-07T12:17:44.973
Modified: 2026-11-12T20:07:11.090
Link: CVE-2026-121265
No data.