Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app binding request data to columns
-
DeliverySubmit column value as JSON/array arrayref
-
ExploitFirst element injected as literal SQL
-
ExecutionSQL::Abstract builds unescaped query
-
PersistDatabase executes attacker SQL
-
ImpactRead/modify database data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an application that (1) uses SQL::Abstract before 2.000003, (2) runs with the default array_datatypes=off setting, and (3) passes attacker-controlled data as column values to insert(), update(), or values() - specifically a value that decodes to an arrayref, such as a JSON array or a repeated HTML form field. Under these conditions the arrayref's first element is placed into the SQL text unescaped. A separate path affects generate() (including via AUTOLOAD when allow_autoload is enabled), which treats an arrayref as literal SQL regardless of the array_datatypes setting. The main limiting factor is application-side: the app must actually bind untrusted request data directly to column values; applications that validate/normalize inputs to scalars, or that enable array_datatypes, are not exposed via the insert/update path. No authentication or user interaction is required (PR:N/UI:N) against an affected code path. The complete fix is upgrading to 2.000003. |
| Impact | Severity signals and real-world signals diverge here. The input CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, 9.8) describes classic unauthenticated remote SQL injection (CWE-89) with full confidentiality, integrity and availability impact on the database - the worst-case class. The vendor/triage signal reinforces urgency: the vuln.today Decision label is act_now and it was reported by CPANSec (the Perl security team). Against that, the exploitation-probability signals are modest: EPSS is only 0.32% (25th percentile), the CVE is NOT listed in CISA KEV, and no working exploit code is confirmed in the references (they are changelogs, a patch diff, and advisories, not a weaponized PoC). The reconciling factor is that this is a library flaw, not a turnkey endpoint: exploitability depends on whether a given downstream application actually passes attacker-controlled arrayref values (decoded JSON arrays or repeated form fields) as column values to insert()/update()/generate() under the default array_datatypes=off setting. So the CVSS network/low-complexity/no-auth rating is accurate for an affected application, but the low EPSS likely reflects that automated mass-scanning cannot reliably fingerprint which deployments feed arrayref data into these calls. Net: a genuine high priority for teams running SQL::Abstract-backed web apps that bind request data to column values - the act_now label is justified - but the absence of KEV and low EPSS indicate exploitation is conditional on application coding patterns rather than universally sprayable. |
| Exploit ScenarioDerived | A Perl web application decodes a JSON request body (or repeated form fields) and passes the resulting values directly as column values to SQL::Abstract's insert() or update(). An attacker submits a column value as a JSON array; because array_datatypes is off by default, the array's first element is interpolated into the SQL text unescaped while the remaining elements become bind values, letting the attacker inject arbitrary SQL. No public working exploit is confirmed, but the fix diff is publicly available and the trigger pattern is simple, so exploitation requires no special privileges or user interaction once a vulnerable code path is reached. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
SQL injection in the Perl module SQL::Abstract before 2.000003 lets unauthenticated remote attackers inject SQL whenever an application passes attacker-controlled data as column values to insert(), update() or values() and that data decodes to an arrayref, such as a JSON array or a repeated form field. With the default array_datatypes option off, the arrayref's first element is placed into the SQL text unescaped while the remaining elements become bind values (CVSS 3.1 base 9.8, AV:N/AC:L/PR:N/UI:N, CWE-89); a related path in generate(), including via AUTOLOAD when allow_autoload is enabled, treats arrayrefs as literal SQL regardless of the array_datatypes setting. Real-world signals diverge from the severity score: EPSS is only 0.32% (25th percentile), there is no CISA KEV entry, and no public exploit has been identified at time of analysis, yet the vuln.today decision label is act_now because exposure depends entirely on whether a given application binds untrusted request data directly to column values. The complete fix is upgrading to 2.000003.
RemediationAI
Upgrade SQL::Abstract to 2.000003, which the sources identify as the complete fix for both the insert()/update()/values() arrayref interpolation and the generate()/AUTOLOAD literal-SQL handling; verify the installed version at the distribution changelog https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/changes and the patch diff https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/diff/GETTY/SQL-Abstract-2.000001_04. Where an immediate upgrade is not possible, the exposure on the insert/update path can be closed at the application boundary by validating and normalizing request-derived values to scalars before they reach insert(), update() or values(), or by enabling array_datatypes so arrayrefs are expanded as data rather than injected as SQL text - with the trade-off that enabling the option changes query-building semantics for every caller and can break existing code that intentionally passes literal SQL fragments through arrayrefs. The generate() path is not covered by array_datatypes, so also disable allow_autoload if the application does not depend on AUTOLOAD-generated methods, accepting that any code relying on that dispatch will fail. Application-side input normalization requires auditing every call site that forwards decoded JSON or repeated form parameters as column values, since a single unnormalized path reintroduces the injection. Advisory and disclosure detail is available at https://seclists.org/oss-sec/2026/q4/574 and http://www.openwall.com/lists/oss-security/2026/11/07/10.
Affected ProductsAI
All releases of the Perl distribution SQL::Abstract (CPAN author GETTY) before 2.000003 are affected, on any platform where the module is installed; no CPE strings were provided in the source data, so scoping must be done by installed module version. The insert/update/values exposure applies specifically to installations retaining the default array_datatypes=off setting, while the generate()/AUTOLOAD issue applies regardless of that setting. The fix lands in SQL::Abstract 2.000003, described in the distribution changelog at https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/changes, with the code delta visible at https://metacpan.org/release/GETTY/SQL-Abstract-2.000003/diff/GETTY/SQL-Abstract-2.000001_04. Coordinated disclosure details are in the oss-security thread (https://seclists.org/oss-sec/2026/q4/574 and http://www.openwall.com/lists/oss-security/2026/11/07/10), with additional tracking at https://nvd.nist.gov/vuln/detail/CVE-2026-121265, ENISA EUVD-2026-119134, and https://vuldb.com/vuln/432587.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SQL::Abstract is a long-standing CPAN library that builds SQL statements from Perl data structures, and it is the query-construction layer beneath much Perl application and ORM code. The root cause is CWE-89: when the array_datatypes option is disabled - the default - an arrayref supplied as a column value is not treated as structured data but as a literal SQL fragment. Its first element is interpolated directly into the generated SQL text without escaping, and subsequent elements are shifted into the placeholder list as bind values, so an attacker who controls the arrayref's leading element controls raw SQL. This differs from the abstract's intended contract, where literal SQL is an explicit developer opt-in; here ordinary decoded input (a JSON array, a repeated HTML form field) silently takes the literal-SQL path. A second, independent path affects generate(): before 2.000003 an arrayref passed there is always treated as literal SQL, and this is reachable through AUTOLOAD method dispatch when allow_autoload is enabled, independent of the array_datatypes setting. The sources describe the trigger precisely as arrayref column values reaching insert(), update(), values(), or generate(); no other trigger mechanics are stated. No CPE identifiers were supplied with the intelligence, so the affected scope is defined by the CPAN distribution (GETTY/SQL-Abstract) and the version boundary rather than by platform CPEs. Authentication requirements are unconfirmed by description alone but the assessed vector carries PR:N/UI:N, so reachable code paths require no credentials or user interaction.
Know when Perl gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Unauthenticated remote SQL injection via arrayref column values under default settings yields full DB read/write/destroy, so AV:N/AC:L/PR:N/UI:N and C:H/I:H/A:H.
Primary rating from Vendor (CPANSec).
CVSS VectorVendor: CPANSec
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-121265 is a critical SQL injection vulnerability in the widely-used Perl module SQL::Abstract, affecting any application that passes untrusted request data to its insert, update, or values methods. Successful exploitation could allow an unauthenticated attacker to read, modify, or delete sensitive database contents, with potential compliance and operational consequences. Leadership should prioritize inventorying Perl-based applications and coordinating a risk-based response, as exposure is entirely dependent on how each application uses the module.
No vendor-released patch identified at time of analysis; interim mitigations include enforcing strict input validation to coerce user-controlled data to scalar values before passing to SQL::Abstract methods, avoiding the use of arrayrefs from untrusted sources in insert(), update(), and values(), and disabling the allow_autoload option if set.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand
Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before
The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of
Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated
Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid
Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a
Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa
Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e
CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS
The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig
In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha
Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers
EUVD-2026-119134
GHSA-929q-6qm3-gx8h
NVD
CVE.org
EPSS
VulDB
Exploit-DB