Technical impact
SQL::Abstract versions before 2.000003 handle arrayref column values in insert and update without proper escaping. An attacker can supply data that includes raw SQL fragments, which the library incorporates directly into the generated query, allowing execution of arbitrary SQL commands. This flaw compromises database integrity and confidentiality, potentially exposing sensitive data or enabling data loss.
Affected Systems
The vulnerability affects Perl applications that use SQL::Abstract 2.000002 or earlier when array_datatypes is set to off, the default. Applications that forward untrusted request data directly to insert or update functions are at risk. The affected product is the SQL::Abstract Perl module from any vendor providing it.
Risk and Exploitability
An attacker can trigger the flaw by supplying data that becomes column values in insert or update calls. The vulnerability yields a classic SQL injection effect, allowing arbitrary SQL through the first element of an arrayref treated as literal SQL. The CVSS score is 9.8, indicating critical severity, while the EPSS score is less than 1%, suggesting a low probability of exploitation in the wild. The module is not listed in CISA’s KEV catalog, but the high CVSS still calls for immediate mitigation.