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.
References
| Link | Resource |
|---|---|
| https://github.com/perl5-dbi/dbi/commit/b73d5d9901767fc1d16b6661ef08fbed4532e259.patch | Patch |
| https://github.com/perl5-dbi/dbi/security/advisories/GHSA-ch8w-hxc2-v557 | Vendor Advisory |
| https://metacpan.org/release/HMBRAND/DBI-1.650/changes | Release Notes |
| http://www.openwall.com/lists/oss-security/2026/07/07/16 | Mailing List Patch Third Party Advisory |
Configurations
History
10 Jul 2026, 14:46
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Perl
Perl dbi |
|
| CPE | cpe:2.3:a:perl:dbi:*:*:*:*:*:*:*:* | |
| References | () https://github.com/perl5-dbi/dbi/commit/b73d5d9901767fc1d16b6661ef08fbed4532e259.patch - Patch | |
| References | () https://github.com/perl5-dbi/dbi/security/advisories/GHSA-ch8w-hxc2-v557 - Vendor Advisory | |
| References | () https://metacpan.org/release/HMBRAND/DBI-1.650/changes - Release Notes | |
| References | () http://www.openwall.com/lists/oss-security/2026/07/07/16 - Mailing List, Patch, Third Party Advisory |
09 Jul 2026, 16:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.8 |
08 Jul 2026, 01:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
07 Jul 2026, 23:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-07 23:16
Updated : 2026-07-10 14:46
NVD link : CVE-2026-14380
Mitre link : CVE-2026-14380
CVE.ORG link : CVE-2026-14380
JSON object : View
Products Affected
perl
- dbi
CWE
CWE-95
Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
