Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Perl | Dbi | < 1.650 |
Related Weaknesses (CWE)
References
- https://github.com/perl5-dbi/dbi/commit/b73d5d9901767fc1d16b6661ef08fbed4532e259Patch
- https://github.com/perl5-dbi/dbi/security/advisories/GHSA-ch8w-hxc2-v557Vendor Advisory
- https://metacpan.org/release/HMBRAND/DBI-1.650/changesRelease Notes
- http://www.openwall.com/lists/oss-security/2026/07/07/16Mailing ListPatchThird Party Advisory
FAQ
What is CVE-2026-14380?
CVE-2026-14380 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 ...
How severe is CVE-2026-14380?
CVE-2026-14380 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-14380?
Check the references section above for vendor advisories and patch information. Affected products include: Perl Dbi.