CVE-2024-53899

Exp

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.

Published: 2024-11-24 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-53899 is rated High Exploit Risk (71.4/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.56%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2024-53899

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2024-53899

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-19 1.53% 1.56% +0.03%
2 2026-06-15 0.17% 1.53% +1.36%
3 2026-03-20 0.17%

Full EPSS history (20 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-53899

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.8 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.9 [email protected]
8.4 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.5 5.9 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2024-53899

GitHub Security Advisory for CVE-2024-53899

GHSA-rqc4-2hc7-8c8v · Severity: high · Ecosystem: pip — virtualenv allows command injection through activation scripts for a virtual environment

OS Trackers for CVE-2024-53899

vendor priority summary link
debian not yet assigned CVE-2024-53899 not yet assigned priority: Debian including 1 source packages (python-virtualenv), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. https://security-tracker.debian.org/tracker/CVE-2024-53899
redhat high https://access.redhat.com/security/cve/CVE-2024-53899
suse high CVE-2024-53899 severity important: SUSE including 30 source package names (5.1.0.6.40:python311-virtualenv-20.22.0-150400.9.6.1, oci-cli-3.61.0-1.1, …), 59 product×package rows across 27 product lines (Container suse/multi-linux-manager/5.1/x86_64/server, Image server-image, … (27 product lines)): Fixed 39, Known Not Affected 20. https://www.suse.com/security/cve/CVE-2024-53899/
ubuntu medium CVE-2024-53899 medium priority: Ubuntu including 1 source packages (python-virtualenv), 10 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 4, released 4, ignored 1, needs-triage 1. https://ubuntu.com/security/CVE-2024-53899

Affected software / configurations for CVE-2024-53899

Vendor Product Version Raw CPE
virtualenv virtualenv < 20.26.6 cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*

References for CVE-2024-53899

cvelogic Threat Intelligence