Skip to main content
VulnerabilityPublished Updated

CVE-2024-53899: Conda lock · virtualenv allows command injection through activation scripts for a virtual environment

Affects conda-lockSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2024-53899· High 8.4

Not known to be exploited · CVSS 8.4 High : upgrade to 2.5.7_2 soon.

Data as of 4 Dec 2026, 20:32 UTC

CVSS 3.1 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.5.7_2, 20.26.6
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 4 Dec 2026.

What to do

Upgrade conda-lock to 2.5.7_2; virtualenv to 20.26.6.

Affected software

ProductAffectedFixed in
Homebrewconda-lockpkg:brew/conda-lockOther threatsAffected
  • >=2.5.5 <2.5.7_2
Fixed in
  • 2.5.7_2
PyPIvirtualenvpkg:pypi/virtualenvOther threatsAffected
  • <20.26.6
Fixed in
  • 20.26.6

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

AI-suggested

Upgrade conda-lock to version 2.5.7_2 or later, where this vulnerability has been fixed. Since a patch is available, applying the official update is the recommended remediation. No additional mitigations are specified.

Description

A command injection vulnerability exists in virtualenv versions before 20.26.6, specifically affecting the activation scripts for virtual environments. This occurs because magic template strings are not properly quoted during replacement, allowing an attacker to inject arbitrary commands. This vulnerability is distinct from CVE-2024-9287. The issue affects conda-lock versions >=2.5.5 and <2.5.7_2 and has been assigned a high severity score.

References

Community reviews

Loading reviews…