Skip to main content

Perl DBI CVE-2026-14380

HIGH
Eval Injection (CWE-95)
2026-07-07 CPANSec
8.8
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

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

  1. Access
    Connect to network-exposed DBI proxy
  2. Delivery
    Submit DSN with crafted Profile spec
  3. Exploit
    Package interpolated into string eval
  4. Execution
    Injected Perl executes in broker
  5. Impact
    Run system commands as service account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK

1 technique across 1 tactic: Execution

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 attacker-influenced value to reach a DBI handle's Profile attribute through one of three named sinks: the DBI_PROFILE environment variable, a direct Profile attribute assignment in application code, or a DSN driver-attribute clause of the form dbi:Driver(Profile=>SPEC):db. This is not present in a default DBI deployment - the application, environment, or proxy must actually pass untrusted data into Profile. The strongest and lowest-privilege position is a network-exposed DBI::Gofer or DBI::ProxyServer whose per-request DSN reaches Profile, allowing a connecting client to inject code; absent such a service, exploitation is limited to local vectors (controlling DBI_PROFILE) or applications that deliberately route external input into the Profile attribute. Limiting factors: the vulnerable data flow is configuration/application-specific rather than default, and the CVSS PR:L indicates some level of authenticated or client access to the DBI service is expected.

Impact

Signals are mixed and point to high impact but constrained likelihood. The vendor CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N, C:H/I:H/A:H = 8.8) and SSVC 'technical impact: total' agree the outcome is full RCE. However SSVC also records exploitation 'none' and automatable 'no', EPSS is only 0.24% (15th percentile), the issue is NOT in CISA KEV, and no public exploit is identified - so this is not evidence of active or widespread exploitation. The critical caveat: exploitation is entirely dependent on a data flow that routes caller-influenced input into the Profile attribute, which is not a default configuration for most DBI users; the AV:N/AC:L rating really only holds for the specific case of a network-exposed DBI::ProxyServer/DBI::Gofer accepting untrusted DSNs. For the common case where Profile is never fed untrusted data, real-world risk is low despite the high base score. Treat as high-priority only for deployments exposing DBI proxy services or passing external input into DSNs/attributes; otherwise medium.

Exploit ScenarioDerived

An organization runs a DBI::ProxyServer/DBI::Gofer broker that lets clients specify a DSN per request. An attacker connects and submits a DSN whose Profile spec embeds Perl (e.g. a crafted package portion invoking system commands); when DBI interpolates it into the string eval, the injected Perl runs in the broker process, executing arbitrary OS commands as the service account. No public exploit is identified at time of analysis, but the code path is simple and the technical impact is total.

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 – Jul 22, 2026

Arbitrary Perl code execution in the DBI database-interface module (versions before 1.650) allows attackers who influence a handle's Profile attribute to run host commands. DBI splits a string-form Profile spec into path/package/arguments and interpolates the package portion into a string eval with no validation, so any untrusted value reaching Profile - via the DBI_PROFILE environment variable, direct attribute assignment, or a dbi:Driver(Profile=>SPEC):db DSN clause - becomes executable Perl. The most severe exposure is a network-facing DBI::Gofer or DBI::ProxyServer whose per-request DSN reaches Profile, letting a remote client execute code on the broker. There is no public exploit identified at time of analysis and EPSS is low (0.24%), but technical impact is total.

RemediationAI

Vendor-released patch: DBI 1.650 - upgrade the DBI module to 1.650 or later (fix commit b73d5d9901767fc1d16b6661ef08fbed4532e259, which replaces the vulnerable string eval with Module::Load::load). Until you can patch, ensure no caller-influenced value reaches a handle's Profile attribute: unset or hard-pin the DBI_PROFILE environment variable in service environments (side effect: disables env-driven profiling), reject or sanitize DSN strings so client-supplied dbi:Driver(Profile=>...):db clauses cannot pass through, and never assign externally derived data to the Profile attribute. For network-facing DBI::Gofer/DBI::ProxyServer brokers, restrict the accepted DSN/attribute set and place the service behind authentication and network ACLs, or take it offline until patched, since it is the strongest remote code-execution path. References: https://github.com/perl5-dbi/dbi/security/advisories/GHSA-ch8w-hxc2-v557 and the patch at https://github.com/perl5-dbi/dbi/commit/b73d5d9901767fc1d16b6661ef08fbed4532e259.patch.

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

DBI is the standard database-access abstraction layer for Perl, sitting between applications and DBD::* drivers; its Profile subsystem (lib/DBI/Profile.pm) instruments method timing and can load a pluggable profiling class named in the Profile attribute. The flaw is a classic CWE-95 (eval injection / improper neutralization of directives in dynamically evaluated code): the internal _auto_new routine parsed the Profile spec and executed eval "require $package", string-interpolating an attacker-influenced $package directly into a Perl string eval. Because Perl's string eval compiles and runs arbitrary code, a value like a package name containing embedded Perl (e.g. system calls) executes immediately rather than merely loading a module. The upstream fix replaces the string eval with a block eval calling Module::Load::load, which treats the value strictly as a module name and cannot execute injected code.

Know when Dbi 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 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Full RCE (C/I/A:H), but exploitation needs a non-default data flow routing untrusted input into Profile (typically a proxy client), so AC:H and PR:L rather than PR:N.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.3 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Red Hat 8.8 HIGH

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

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

Lifecycle Timeline

2
CVE Published
Jul 07, 2026 - 22:04 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 07, 2026 - 22:04 cve.org
HIGH 8.8

DescriptionCVE.org

DBI versions before 1.650 for Perl are vulnerable to code injection via caller-influenced Profile.

When a string is assigned to a DBI handle's Profile attribute, DBI splits it into path, package and arguments, and interpolates the package part in a string eval with no validation of the package name.

Any caller-influenced value that reaches the Profile attribute is therefore arbitrary Perl code execution, including calls to run system commands.

The Profile attribute can be set from three different sources that can carry untrusted data: the DBI_PROFILE environment variable, a direct attribute assignment, and a DSN driver-attribute clause dbi:Driver(Profile=>SPEC):db.

An attacker controlling any of those inputs runs arbitrary Perl in the host process. The strongest remote position is a network-exposed DBI::Gofer / DBI::ProxyServer whose per-request DSN reaches the Profile attribute, letting a client execute code on the broker host.

Executive ViewAI

Why It Matters

CVE-2026-14380 in Perl's DBI module (versions <1.650) allows arbitrary code execution through unsanitized Profile attributes; no public exploit identified at time of analysis. Database brokers and services using DBI::Gofer or DBI::ProxyServer face critical risk if they accept untrusted DSN or environment variable input. All Perl database infrastructure requires immediate upgrade to version 1.650 or later.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
High
standard database interface module across virtually all Perl deployments
Social Media
5
Sightings
Data Quality
7 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment MSRC Vendor CIRCL GitHub VulDB

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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:a:hmbrand:dbi:*:*:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.0 SUSE Linux Enterprise Server for SAP applications 16.0 Fixed
SUSE Linux Micro 6.2 Fixed
openSUSE Leap 16.0 Fixed
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected

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