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

Summary

CVECVE-2026-14380
StatePUBLISHED
AssignerCPANSec
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-07 23:16:53 UTC
Updated2026-07-08 01:16:26 UTC
DescriptionDBI 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.

Risk And Classification

EPSS: 0.002370000 probability, percentile 0.145910000 (date 2026-07-08)

Problem Types: CWE-95 | CWE-95 CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code (Eval Injection)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA HMBRAND DBI affected 1.650 custom Not specified

References

ReferenceSourceLinkTags
github.com/perl5-dbi/dbi/commit/b73d5d9901767fc1d16b6661ef08fbed4532e259... 9b29abf9-4ab0-4765-b253-1875cd9b441e github.com
metacpan.org/release/HMBRAND/DBI-1.650/changes 9b29abf9-4ab0-4765-b253-1875cd9b441e metacpan.org
github.com/perl5-dbi/dbi/security/advisories/GHSA-ch8w-hxc2-v557 9b29abf9-4ab0-4765-b253-1875cd9b441e github.com
www.openwall.com/lists/oss-security/2026/07/07/16 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

Solutions

CNA: Upgrade to DBI version 1.650 or later.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report