CVE-2026-14380

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:perl:dbi:*:*:*:*:*:*:*:*

History

25 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de DBI anteriores a la 1.650 para Perl son vulnerables a la inyección de código a través de Profile influenciado por el llamador. Cuando se asigna una cadena al atributo Profile de un manejador de DBI, DBI la divide en ruta, paquete y argumentos, e interpola la parte del paquete en una evaluación de cadena sin validación del nombre del paquete. Cualquier valor influenciado por el llamador que llega al atributo Profile es, por lo tanto, ejecución arbitraria de código Perl, incluyendo llamadas para ejecutar comandos del sistema. El atributo Profile puede establecerse desde tres fuentes diferentes que pueden contener datos no confiables: la variable de entorno DBI_PROFILE, una asignación directa de atributo y una cláusula de atributo de controlador DSN dbi:Driver(Profile=>SPEC):db. Un atacante que controla cualquiera de esas entradas ejecuta Perl arbitrario en el proceso del host. La posición remota más fuerte es un DBI::Gofer / DBI::ProxyServer expuesto a la red cuyo DSN por solicitud llega al atributo Profile, permitiendo a un cliente ejecutar código en el host intermediario.

Information

Published : 2026-07-07 23:16

Updated : 2026-10-25 20:10


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')

CWE-470

Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')