Back to overview

CVE-2026-14380

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

Metadata

CVE ID
CVE-2026-14380
State
PUBLISHED
Assigner
CPANSec
Reserved
2026-07-01 21:17 UTC
Published
2026-07-07 22:04 UTC
Last updated
2026-07-08 00:28 UTC
Primary CWE
CWE-95
CWE-95 Improper Neutralization of Directives in Dynamically …
Vendor / Product
HMBRAND / DBI
Sources
cve.org  ·  NVD

Severity & Metrics

No CVSS data available.

Affected products (1)
VendorProductPlatformVersions
HMBRAND DBI 0 < 1.650
Weakness (CWE)
CWESourceDescription
CWE-95 cna CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code (Eval Injection)
Back to overview