---
id: CVE-2026-14380
title: >-
  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 packa…
summary: >-
  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 packa…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-95
  - CWE-470
vendor: perl
product: dbi
affected:
  - dbi < 1.650
patched:
  - dbi 1.650
published: '2026-07-07'
updated: '2026-08-31'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-14380'
references:
  - url: >-
      https://github.com/perl5-dbi/dbi/commit/b73d5d9901767fc1d16b6661ef08fbed4532e259.patch
    label: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  - url: 'https://github.com/perl5-dbi/dbi/security/advisories/GHSA-ch8w-hxc2-v557'
    label: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  - url: 'https://metacpan.org/release/HMBRAND/DBI-1.650/changes'
    label: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  - url: 'http://www.openwall.com/lists/oss-security/2026/07/07/16'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00499
epssPercentile: 0.40194
ingestedAt: '2026-08-31T11:07:13.924Z'
---

## Overview

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

- `dbi < 1.650`

## Remediation

Upgrade past the affected range:

- `dbi 1.650`
