Skip to main content

SQL::Abstract CVE-2026-121009

| EUVDEUVD-2026-116929 HIGH
SQL Injection (CWE-89)
2026-11-04 CPANSec GHSA-c656-phfm-x7g8
7.3
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit malicious function name to application
  2. Delivery
    Reach SQL::Abstract explicit -func path
  3. Exploit
    Bypass skipped injection_guard check
  4. Execution
    Inject SQL via unchecked function name
  5. Impact
    Read 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (CPANSec) PRIMARY 7.3 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 7.3 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

3
CVSS changed
Nov 10, 2026 - 13:22 NVD
7.3 (HIGH)
CVE Published
Nov 04, 2026 - 14:36 cve.org
UNKNOWN (no severity yet)
CVE Published
Nov 04, 2026 - 14:36 cve.org
HIGH 7.3

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
popular Perl SQL-builder, core to DBIx::Class, but Perl-only footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in Perl

View all
CVE-2012-6329 HIGH POC
7.5 Jan 04

The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand

CVE-2017-12814 CRITICAL POC
9.8 Sep 28

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

CVE-2015-8608 CRITICAL POC
9.8 Feb 07

The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of

CVE-2018-18314 CRITICAL POC
9.8 Dec 07

Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated

CVE-2018-18312 CRITICAL POC
9.8 Dec 05

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

CVE-2026-13221 CRITICAL POC
9.1 Jul 13

Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a

CVE-2018-18313 CRITICAL POC
9.1 Dec 07

Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa

CVE-2016-2381 HIGH
7.5 Apr 08

Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e

CVE-2023-31484 HIGH POC
8.1 Apr 29

CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS

CVE-2016-6185 HIGH POC
7.8 Aug 02

The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig

CVE-2018-12015 HIGH POC
7.5 Jun 07

In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha

CVE-2020-10543 HIGH
8.2 Jun 05

Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy