llamaCVEVulnerability Intelligence
/
virtualenv

CVE-2026-113723

virtualenv: Bash prompt values can change meaning under older compatibility modes

Specific setups onlyParche disponibleOS command injection
Descargar PNG JSON
CVSS 4.0
7.1
Alta
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Fuente: CNA
7.8NVD · CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -3 d de la divulgación
Exposición29 dDesde la divulgación, 20 oct 2026, 2:51 p. m.
Detección2 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 21.14.9
Monitoreo
Detectada
Fuente: OSV
Fuente: NIST NVD
Verificada
17 oct 26
20 oct 26
22 oct 26
23 oct 26
27 oct 26
18 nov 26
19 nov 26
17 oct 26
26 oct 26
3 nov 26
11 nov 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 21.14.9 virtualenv · -3 d desde divulgación
Divulgación Publicada CVE-2026-113723 divulgada · CVSS 7.1 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, caller-supplied prompt text can become executable syntax in the bash activation prompt. An attacker must influence the value passed to virtualenv, and a user must subsequently activate the environment and draw the prompt. This vulnerability is fixed in 21.14.9.

Affects virtualenv releases such as 21.14.8 when the generated POSIX activation script is sourced under dash or under bash at compatibility level 4.2 or lower. Fixed in 21.14.9.

¿Qué significa?Prompt values used by the generated activation script can be interpreted as commands instead of plain text. An affected activation can then run commands with the user's privileges.
¿Quién está afectado?The problem was reproduced on virtualenv 21.14.8. It concerns only the POSIX activation script, in cases where dash sources activate directly, a child dash inherits an exported PS1 from bash, or bash runs at compatibility level 4.2 or lower. Exposure through unrelated activators is not established. The installed version can be checked with virtualenv --version.
¿Qué hacer?Upgrade to virtualenv 21.14.9, the listed fixed version. Until the upgrade is applied, use only trusted prompt and destination values.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affected virtualenv releases, reproduced on 21.14.8.“The problem reproduces on virtualenv 21.14.8.”
02
The generated POSIX activation script is sourced by the user.“The user later sources the generated activation script.”
03
Runs through dash sourcing activate directly, a child dash inheriting an exported PS1 from bash, or bash at compatibility level 4.2 or lower.“Three other paths still interpret prompt data as commands: dash sourcing activate directly, a child dash inheriting an exported PS1 from bash, and bash running at compatibility level 4.2 or lower.”
04
Concerns POSIX activation only; exposure through unrelated activators is not established.“It does not establish exposure through unrelated activators.”
¿Quién debe revisar?Teams running virtualenv 21.14.8 or earlier who activate environments in bash or dash, or let tools pass --prompt or destination values into virtualenv.
No protegeEnvironments generated by older releases must be recreated with 21.14.9 or later.
MitigaciónUse trusted prompt and destination values. On older releases, disable the environment prompt with VIRTUAL_ENV_DISABLE_PROMPT=1.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
virtualenv< 21.14.9
virtualenv≥ 20.0.0 < 21.14.9
20.0.0
21.14.9
21.15.6
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypivirtualenv
Corregida 21.14.9 -3 d 21.15.6 no afectada
Versiones corregidas21.14.9
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/pypa/virtualenv/security/advisories/GHSA-6w3r-xr62-4xcp
Otrahttps://github.com/pypa/virtualenv/pull/3418
Otrahttps://github.com/pypa/virtualenv/commit/5f48d711731311428aebfae61d46957762155b22
Otrahttps://github.com/pypa/virtualenv/releases/tag/21.14.9

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.