Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-102938

published medium CVSS 4.0 · 5.8

virtualenv writes prompt values into pyvenv.cfg without sanitizing line boundaries, allowing configuration injection

Published
29 Sep 2026, 20:58:20 UTC
Updated
30 Sep 2026, 19:53:20 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
pypa — virtualenv< 21.7.11 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3295 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3296 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE SLE-15-SP4 python311-virtualenvnoarch Advisory build 20.22.0-150400.9.12.1 SUSE-SU-2026:4652-1
Amazon Linux AL2023 python-virtualenvnoarch Listed in advisory Not stated ALAS2023-2026-3295
SUSE / openSUSE SLE-15-SP5 python311-virtualenvnoarch Advisory build 20.22.0-150400.9.12.1 SUSE-SU-2026:4652-1
SUSE / openSUSE SLE-15-SP6 python311-virtualenvnoarch Advisory build 20.22.0-150400.9.12.1 SUSE-SU-2026:4652-1
Show 18 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP7 python311-virtualenvnoarch Advisory build 20.22.0-150400.9.12.1 SUSE-SU-2026:4652-1
SUSE / openSUSE SLE-16 python313-virtualenvnoarch Advisory build 20.29.3-160000.4.1 SUSE-SU-2026:24243-1
SUSE / openSUSE SLE-16 python313-virtualenvnoarch Advisory build 20.29.3-160100.3.1 SUSE-SU-2026:24885-1
SUSE / openSUSE SLE-16 python313-virtualenvnoarch Advisory build 20.29.3-160100.3.1 SUSE-SU-2026:24940-1
SUSE / openSUSE SLE-3-SP7 python311-virtualenvnoarch Advisory build 20.22.0-150400.9.12.1 SUSE-SU-2026:4652-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-virtualenvnoarch Advisory build 20.29.3-160000.4.1 OPENSUSE-SU-2026:22100-1
SUSE / openSUSE openSUSE-Leap-16.1 python313-virtualenvnoarch Advisory build 20.29.3-160100.3.1 OPENSUSE-SU-2026:22379-1
SUSE / openSUSE openSUSE-Tumbleweed python313-virtualenvaarch64 Advisory build 21.14.2-1.1 OPENSUSE-SU-2026:11974-1
SUSE / openSUSE openSUSE-Tumbleweed python313-virtualenvppc64le Advisory build 21.14.2-1.1 OPENSUSE-SU-2026:11974-1
SUSE / openSUSE openSUSE-Tumbleweed python313-virtualenvs390x Advisory build 21.14.2-1.1 OPENSUSE-SU-2026:11974-1
SUSE / openSUSE openSUSE-Tumbleweed python313-virtualenvx86_64 Advisory build 21.14.2-1.1 OPENSUSE-SU-2026:11974-1
SUSE / openSUSE openSUSE-Tumbleweed python314-virtualenvaarch64 Advisory build 21.14.2-1.1 OPENSUSE-SU-2026:11974-1
SUSE / openSUSE openSUSE-Tumbleweed python314-virtualenvppc64le Advisory build 21.14.2-1.1 OPENSUSE-SU-2026:11974-1
SUSE / openSUSE openSUSE-Tumbleweed python314-virtualenvs390x Advisory build 21.14.2-1.1 OPENSUSE-SU-2026:11974-1
SUSE / openSUSE openSUSE-Tumbleweed python314-virtualenvx86_64 Advisory build 21.14.2-1.1 OPENSUSE-SU-2026:11974-1
Amazon Linux AL2023 python-virtualenvsrc Listed in advisory Not stated ALAS2023-2026-3295
Amazon Linux AL2023 python3.13-virtualenvnoarch Listed in advisory Not stated ALAS2023-2026-3296
Amazon Linux AL2023 python3.13-virtualenvsrc Listed in advisory Not stated ALAS2023-2026-3296

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

13

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.8 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
pypa virtualenv < 21.7.11 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-93 CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection') (GitHub_M · cna)

References

4

Provider assertions

2

GitHub_M · cna

virtualenv writes prompt values into pyvenv.cfg without sanitizing line boundaries, allowing configuration injection

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
ea054e3c9b57f08a0660f647c85199038621c769fe5455bf49059b19b0550277
Ingested
30 Sep 2026, 19:58:20 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected