Skip to main content
VulnerabilityPublished Updated

CVE-2024-53899: Python virtualenv · virtualenv before 20.26.6 allows command injection through the activation scripts

Affects python-virtualenvSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2024-53899· High 8.4

Not known to be exploited · CVSS 8.4 High · fixed in 20.13.0+ds-2ubuntu0.1~esm1 : patch python-virtualenv soon.

Data as of 24 Nov 2026, 19:42 UTC

CVSS 3.1 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 20.13.0+ds-2ubuntu0.1~esm1, 20.25.0+ds-2ubuntu0.1~esm1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Nov 2024

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

What to do

Upgrade the Ubuntu python-virtualenv to 20.13.0+ds-2ubuntu0.1~esm1 (package) or 20.25.0+ds-2ubuntu0.1~esm1 (package).

Affected software

ProductAffectedFixed in
Ubuntu Pro 24.04 LTSpython-virtualenvpkg:deb/ubuntu/python-virtualenv?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <20.25.0+ds-2ubuntu0.1~esm1
Fixed in
  • 20.25.0+ds-2ubuntu0.1~esm1
Ubuntu Pro 22.04 LTSpython-virtualenvpkg:deb/ubuntu/python-virtualenv?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <20.13.0+ds-2ubuntu0.1~esm1
Fixed in
  • 20.13.0+ds-2ubuntu0.1~esm1
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.

Description

virtualenv before 20.26.6 allows command injection through the activation scripts for a virtual environment. Magic template strings are not quoted correctly when replacing. NOTE: this is not the same as CVE-2024-9287.

References

Community reviews

Loading reviews…