Vulnerability · Published Jul 7, 2026 · Assigned by CPANSec
CVE-2026-14380DBI versions before 1.650 for Perl are vulnerable to code injection via caller-influenced Profile
High 8.8
In plain English
A high-severity security flaw in DBI. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | perl-DBI | 1.643-26.el10_2.3 | ALSA-2026:49514 |
| AlmaLinux:10 | perl-DBI | 1.643-26.el10_2.4 | ALSA-2026:65887 |
| AlmaLinux:8 | perl-DBI | 1.641-2.el8_10 | ALSA-2026:62667 |
| AlmaLinux:8 | perl-DBI | 1.641-8.module_el8.10.0+4245+6005333d | ALSA-2026:52772 |
| AlmaLinux:9 | perl-DBI | 1.643-9.el9_8.3 | ALSA-2026:49612 |
| AlmaLinux:9 | perl-DBI | 1.643-9.el9_8.5 | ALSA-2026:66179 |
| Alpine:v3.24 | perl-dbi | 1.651-r0 | ALPINE-CVE-2026-14380 |
| Debian:12 | libdbi-perl | 1.643-4+deb12u2 | DEBIAN-CVE-2026-14380 |
| Debian:13 | libdbi-perl | 1.652-2~deb13u1 | DEBIAN-CVE-2026-14380 |
| Debian:14 | libdbi-perl | 1.650-1 | DEBIAN-CVE-2026-14380 |
| Rocky Linux:10 | perl-DBI | 0:1.643-26.el10_2.3 | RLSA-2026:49514 |
| Rocky Linux:8 | perl-DBI | 0:1.641-8.module+el8.10.0+40273+0bbde87c | RLSA-2026:52772 |
| Rocky Linux:8 | perl-DBI | 0:1.641-8.module+el8.10.0+40273+66ce089d | RLSA-2026:52772 |
| Rocky Linux:8 | perl-DBI | 0:1.641-8.module+el8.10.0+40273+4d327a6c | RLSA-2026:52772 |
| Rocky Linux:8 | perl-DBI | 0:1.641-8.module+el8.10.0+40273+d479100a | RLSA-2026:52772 |
| Rocky Linux:8 | perl-DBI | 0:1.641-2.el8_10 | RLSA-2026:62667 |
| Rocky Linux:9 | perl-DBI | 0:1.643-9.el9_8.3 | RLSA-2026:49612 |
| Ubuntu:22.04:LTS | libdbi-perl | no fix listed | UBUNTU-CVE-2026-14380 |
| Ubuntu:24.04:LTS | libdbi-perl | no fix listed | UBUNTU-CVE-2026-14380 |
| Ubuntu:25.10 | libdbi-perl | no fix listed | UBUNTU-CVE-2026-14380 |
| Ubuntu:26.04:LTS | libdbi-perl | no fix listed | UBUNTU-CVE-2026-14380 |
| Ubuntu:26.10 | libdbi-perl | no fix listed | UBUNTU-CVE-2026-14380 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| DBI | 0 – before 1.650 |
Weakness: CWE-95, CWE-470 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- 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