Skip to main content
CVE-2026-102925VulnerabilityPublished Updated

Python virtualenv: Prior to 21.7.13, the generated activate (bash and zsh) and activate.fish scripts place values

Affects python-virtualenvSource GCVE Database

0
Compare
Authoritative record:CVE-2026-102925· High 7.8

Not known to be exploited · CVSS 7.8 High · fixed in 21.7.13 : patch python-virtualenv soon.

Data as of 9 Nov 2026, 13:53 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 21.7.13
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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 9 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10python-virtualenvpkg:deb/ubuntu/python-virtualenv?arch=source&distro=stonkingOther threatsAffected
  • =20.36.1+ds-1
  • =21.4.1+ds-1
  • =21.5.1+ds-1
Fixed in–
Ubuntu 26.04 LTSpython-virtualenvpkg:deb/ubuntu/python-virtualenv?arch=source&distro=resoluteOther threatsAffected
  • 20.31.2+ds-1 – 20.36.1+ds-1
4 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSpython-virtualenvpkg:deb/ubuntu/python-virtualenv?arch=source&distro=esm-apps/focalOther threatsAffected
  • 15.1.0+ds-2 – 20.0.17-1ubuntu0.4+esm1
8 affected builds
Fixed in–
Ubuntu 18.04 LTSpython-virtualenvpkg:deb/ubuntu/python-virtualenv?arch=source&distro=bionicOther threatsAffected
  • =15.1.0+ds-1
  • =15.1.0+ds-1.1
Fixed in–
Ubuntu 16.04 LTSpython-virtualenvpkg:deb/ubuntu/python-virtualenv?arch=source&distro=xenialOther threatsAffected
  • 1.11.6+ds-1 – 15.0.1+ds-3ubuntu1.1
11 affected builds
Fixed in–
Ubuntu 14.04 LTSpython-virtualenvpkg:deb/ubuntu/python-virtualenv?arch=source&distro=trustyOther threatsAffected
  • 1.10.1-1 – 1.11.4-1ubuntu1
5 affected builds
Fixed in–

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

AI-suggested

Upgrade python-virtualenv to version 21.7.13 or later, where this issue is fixed.

Description

Python virtualenv versions prior to 21.7.13 contain a vulnerability in the generated activation scripts (bash, zsh, and fish). These scripts improperly double-quote values already escaped by shlex.quote, which can lead to shell metacharacters being interpreted as commands when the activation script is sourced. This allows an attacker to execute arbitrary code with the user's privileges. The issue is resolved in version 21.7.13.

References

Community reviews

Loading reviews…