Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit malicious function name to application
-
DeliveryReach SQL::Abstract explicit -func path
-
ExploitBypass skipped injection_guard check
-
ExecutionInject SQL via unchecked function name
-
ImpactRead or 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 a specific application usage pattern, not a default configuration: (1) the application must use the explicit { -func => [ $name, ... ] } form rather than the { -name => ... } shorthand; (2) the $name in that position must be attacker-influenced/untrusted; and (3) the application must be relying on a configured injection_guard to reject such names. The { -name => ... } shorthand is NOT affected because it already passes through the guard. Key limiting factors: the vulnerable pattern is uncommon (most applications do not route untrusted input into a SQL function-name position), injection_guard must actually be configured and depended upon, and affected versions are 1.90_01 through before 2.000001_04 only. No user interaction is needed once such an application path exists. |
| Impact | Signals are mixed and net out to a genuine-but-narrow issue rather than a mass-exploitation emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:L/I:L/A:L = 7.3 High) describes a network-reachable, low-complexity, unauthenticated flaw with partial impact, which looks urgent in isolation. However, EPSS is only 0.18% (8th percentile), there is no CISA KEV listing, and the only exploitation artifacts are the regression tests shipped inside the fix commit - not a weaponized, standalone exploit. These low-threat signals are consistent with each other and with the nature of the bug: exploitability is gated on an uncommon application coding pattern (an app that both configures injection_guard AND feeds an attacker-controlled function name through the explicit { -func => [ ... ] } form). The vuln.today decision label is 'this_week', which is a patch-promptly cadence, not act_now/emergency. Net: this is a real, correctly-rated library defect worth patching on a normal cycle, but it is not a high-CVSS-but-fictional risk nor a widespread-exploitation event - the low EPSS and absence of KEV reflect that few deployments will have the specific vulnerable usage. Note the CVSS AV:N applies to the consuming application's attack surface; the SQL::Abstract library itself only builds the query string, so real risk depends on the surrounding application exposing the -func name to untrusted input. |
| Exploit ScenarioDerived | An application uses SQL::Abstract and builds a query with a user-influenced function name via the explicit { -func => [ $name, ... ] } form, trusting its configured injection_guard regex to reject dangerous names. An attacker supplies a crafted function name (e.g. 'count\ngo drop' or 'bobby; tables') that bypasses the guard because the -func path never calls the check, injecting attacker-controlled SQL. The fix commit ships regression tests demonstrating these exact injection strings, but no separate weaponized exploit was identified. |
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 (versions 1.90_01 through before 2.000001_04) lets an untrusted string reach the SQL function-name position when an application uses the explicit { -func => [ $name, ... ] } form and depends on injection_guard to reject it, because only the { -name => ... } shorthand was ever passed through that guard. Remote, unauthenticated attackers can exploit this only where an application routes attacker-influenced data into a function name (CVSS 7.3, low confidentiality/integrity/availability impact). EPSS is 0.18% (8th percentile), no public exploit identified at time of analysis, and a vendor patch is available, so this is a genuine but narrow issue to remediate this week rather than an emergency.
RemediationAI
Upgrade SQL::Abstract to 2.000001_04 or later - vendor-released patch, with the underlying change in commit b6e7d991ac588b937e8943a5b28b6837ff276a51 (https://github.com/dbsrgits/sql-abstract/commit/b6e7d991ac588b937e8943a5b28b6837ff276a51.patch) and release notes at https://metacpan.org/release/GETTY/SQL-Abstract-2.000001_04/changes; because 2.000001_04 is a development/trial-style release, confirm your dependency chain (ORM or framework pinning SQL::Abstract) actually resolves to a fixed version rather than silently keeping the old one. If upgrading is not immediately possible, audit call sites that pass the explicit { -func => [ $name, ... ] } form: replace them with the { -name => ... } shorthand, which already goes through injection_guard (the trade-off is churn in generated SQL and in any code that pattern-matches on the produced statement), or keep -func but supply only hard-coded literal function names, never interpolated or user-derived values. Where an untrusted value must influence which function is called, validate it in application code against a strict allowlist before it reaches SQL::Abstract, since injection_guard cannot be trusted for -func on the affected range and any protection it appears to give is illusory; after upgrade, re-run injection tests to confirm the guard throws on hostile names such as 'bobby; tables' and "count\ngo drop".
Affected ProductsAI
SQL::Abstract for Perl, all versions from 1.90_01 up to but not including 2.000001_04 (fixed in the 2.000001_04 release, per https://metacpan.org/release/GETTY/SQL-Abstract-2.000001_04/changes). No CPE strings were supplied in the source data, so identification should be done from installed distribution metadata (e.g. the SQL::Abstract $VERSION in lib/SQL/Abstract.pm or a dependency scan of CPAN/PAUSE manifests) rather than a CPE match. Applications are exposed only if they call the library with the explicit { -func => [ $name, ... ] } form and depend on injection_guard; the { -name => ... } shorthand is not affected. The patch is at https://github.com/dbsrgits/sql-abstract/commit/b6e7d991ac588b937e8943a5b28b6837ff276a51.patch, with further context in the oss-security post https://seclists.org/oss-sec/2026/q4/513, the NVD entry https://nvd.nist.gov/vuln/detail/CVE-2026-121009, EUVD-2026-116929 and the VulDB record https://vuldb.com/vuln/431090.
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 widely used Perl library that builds SQL statements from Perl data structures, frequently sitting underneath ORMs and form-to-query layers. It supports a -func pseudo-operator that injects a SQL function call into an expression or select list; the documented hardening option injection_guard is supposed to inspect every function name against a caller-supplied allowlist/callback and die with 'Possible SQL injection attempt' on a mismatch. In the affected range, only the { -name => ... } shorthand was routed through _assert_pass_injection_guard; the explicit { -func => [ $name, ... ] } form placed $name into the generated SQL unchecked. The root cause is CWE-89 (improper neutralization of special elements used in an SQL command): an identifier/function-name slot is populated with caller data without the validation the documentation promises. The upstream fix commit b6e7d991ac588b937e8943a5b28b6837ff276a51 adds the missing $self->_assert_pass_injection_guard($func) call in _dwim_op_to_is and ships regression tests that expect the guard to throw on names such as 'bobby; tables' and "count\ngo drop", both in nested comparison operators and in a select list. Exploitation requires a deliberately configured guard plus untrusted input reaching -func; injection_guard is not a general sanitizer, so applications that never enable it were never protected by it in the first place.
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:L/I:L/A:L
Reachable over the network through a vulnerable app with no attacker privileges or interaction (AV:N/AC:L/PR:N/UI:N); impact is partial (C:L/I:L/A:L) as injection is constrained to the function-name position within the built query.
Primary rating from Vendor (CPANSec).
CVSS VectorVendor: CPANSec
Lifecycle Timeline
3DescriptionCVE.org
SQL::Abstract versions from 1.90_01 before 2.000001_04 for Perl skip the injection_guard check for function names given with -func.
injection_guard is documented to apply to every function name, but only the { -name => ... } shorthand goes through it. The explicit { -func => [ $name, ... ] } form puts $name into the SQL unchecked.
An application that relies on injection_guard to reject an untrusted function name passed with -func allows SQL injection.
Executive ViewAI
A high-severity SQL injection vulnerability in the widely used Perl module SQL::Abstract affects versions 1.90_01 through before 2.000001_04. Applications that pass user-controlled input into the explicit function-name parameter (e.g., { -func => [ $name, ... ] }) may allow unauthenticated attackers to manipulate database queries, potentially leading to data leakage or corruption. Although the vulnerability is not currently exploited in the wild and has a low EPSS score, its presence in a foundational library means many internal applications could be exposed if they use this pattern, requiring prompt remediation to avoid future compromise.
Apply vendor patch.
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-116929
GHSA-c656-phfm-x7g8
NVD
CVE.org
EPSS
VulDB
Exploit-DB