Security mailing lists by PureSourceCode

CVE-2024-53899

HIGH 7.8CVSS 3.1

virtualenv allows command injection through activation scripts for a virtual environment

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
24 Nov 2024
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-77CWE-78
Also known as
BIT-virtualenv-2024-53899GHSA-rqc4-2hc7-8c8vPYSEC-2024-187
Sources
NVDJSONOSV GHSA-rqc4-2hc7-8c8vJSONOSV PYSEC-2024-187JSON

Scores

SourceScored byVersionScoreVector / decision
OSV PyPA CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD virtualenv virtualenv
cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*
< 20.26.6 20.26.6
OSV PyPI virtualenv < 20.26.6 20.26.6

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 24 Nov 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 Nov 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 Nov 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.