Skip to main content
CVE-2026-102938VulnerabilityPublished Updated

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

Affects MicrosoftSource GCVE Database

0
Compare
Authoritative record:CVE-2026-102938· Medium 5.8

Not known to be exploited · CVSS 5.8 Medium.

Data as of 31 Oct 2026, 08:20 UTC

CVSS 4.0 base score
5.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
PyPIvirtualenvpkg:pypi/virtualenvOther threatsAffected
  • =3.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, avoid using untrusted input for prompt values that are written into pyvenv.cfg or manually sanitize inputs to prevent injection.

Description

A vulnerability in virtualenv allows prompt values to be written into the pyvenv.cfg configuration file without sanitizing line boundaries. This can lead to configuration injection, potentially affecting the behavior of the virtual environment.

References

Community reviews

Loading reviews…