CVE-2024-53899
CVE-2024-53899 is a high-severity vulnerability in Virtualenv with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-77.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- EPSS exploit prediction: 2% (72nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-0172
- Weakness: CWE-77
- Affected product: Virtualenv
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-53899?
- 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.
- How severe is CVE-2024-53899?
- CVE-2024-53899 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-53899 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (72nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-53899?
- CVE-2024-53899 affects Virtualenv. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-53899?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-53899 have an EU (EUVD) identifier?
- Yes. CVE-2024-53899 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0172.
- When was CVE-2024-53899 published?
- CVE-2024-53899 was published on 2024-11-24 and last updated on 2026-06-17.
References
- https://github.com/pypa/virtualenv/issues/2768
- https://github.com/pypa/virtualenv/pull/2771
- https://github.com/pypa/virtualenv/releases/tag/20.26.6
Affected products (1)
- cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*
More vulnerabilities in Virtualenv
- CVE-2013-5123 — Medium (CVSS 5.9): The mirroring support (-M, --use-mirrors) in Python Pip before 1.5 uses insecure DNS querying and authenticity checks…
- CVE-2026-22702 — Medium (CVSS 4.5): virtualenv is a tool for creating isolated virtual python environments. Prior to version 20.36.1, TOCTOU…
All CVEs affecting Virtualenv →
Other CWE-77 (Command Injection) vulnerabilities
- CVE-2026-23652 — Critical (CVSS 10.0): Improper neutralization of special elements used in a command ('command injection') in Microsoft Power Pages allows an…
- CVE-2025-59818 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute arbitrary commands on the underlying system using the file…
- CVE-2025-64093 — Critical (CVSS 10.0): Remote Code Execution vulnerability that allows unauthenticated attackers to inject arbitrary commands into the…
- CVE-2025-64090 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute commands via the hostname of the device.
- CVE-2025-61492 — Critical (CVSS 10.0): A command injection vulnerability in the execute_command function of terminal-controller-mcp 0.1.7 allows attackers to…
- CVE-2025-10035 — Critical (CVSS 10.0): A deserialization vulnerability in the License Servlet of Fortra's GoAnywhere MFT allows an actor with a validly forged…