cbcvebase.
CVE-2026-102938
published 2026-09-29

CVE-2026-102938: virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.11, PyEnvCfg.write() writes prompt values verbatim to the line-oriented…

PriorityP428medium5.8CVSS 4.0
AVLACLATPPRNUIPVCLVIHVALSCNSINSANEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EPSS
0.14%
3.0th percentile
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.11, PyEnvCfg.write() writes prompt values verbatim to the line-oriented pyvenv.cfg format while PyEnvCfg._read_values() parses the file with str.splitlines() and accepts the last value for duplicate keys. An attacker who influences --prompt, VIRTUALENV_PROMPT, or configuration input can insert a recognized line boundary and additional keys, including home, causing consumers to use an attacker-selected base interpreter or corrupted environment metadata. The security impact requires prompt input from outside the operator's trust boundary; directly supplied prompt content primarily corrupts the operator's own environment. This issue is fixed in version 21.7.11.

Affected

42 ranges· showing 25
VendorProductVersion rangeFixed in
ansible-automation-platform-25ansible-dev-tools-rhel8——
ansible-automation-platform-26ansible-dev-tools-rhel9——
ansible-automation-platform-26controller-rhel9——
ansible-automation-platform-26eda-controller-rhel9——
ansible-automation-platform-26lightspeed-chatbot-rhel9——
ansible-automation-platform-27ansible-dev-tools-rhel9——
ansible-automation-platform-27ansible-devspaces-rhel9——
ansible-automation-platform-27controller-rhel9——
ansible-automation-platform-27eda-controller-rhel9——
ansible-automation-platform-tech-previewansible-devspaces-rhel9——
ansible-automation-platformbootc-automation-portal-rhel9——
debianpython-virtualenv——
devspacesudi-rhel9——
openshift-lightspeedlightspeed-service-api-rhel9——
pypavirtualenv< 21.7.1121.7.11
rhai-early-accessdocling-serve-cuda-rhel9——
rhel8python-36——
rhoaiodh-feature-server-rhel9——
rhoaiodh-kserve-agent-rhel9——
rhoaiodh-kserve-controller-rhel9——
rhoaiodh-kserve-router-rhel9——
rhoaiodh-kserve-storage-initializer-rhel9——
rhoaiodh-pipeline-runtime-datascience-cpu-py312-rhel9——
rhoaiodh-pipeline-runtime-pytorch-cuda-py312-rhel9——
rhoaiodh-pipeline-runtime-pytorch-rocm-py312-rhel9——

CVSS provenance

nvdv4.05.8MEDIUMCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vendor_redhat5.8MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.