High severity7.8NVD Advisory· Published May 8, 2020· Updated Apr 15, 2026
CVE-2018-20225
CVE-2018-20225
Description
An issue was discovered in pip (all versions) because it installs the version with the highest version number, even if the user had intended to obtain a private package from a private index. This only affects use of the --extra-index-url option, and exploitation requires that the package does not already exist in the public index (and thus the attacker can put the package there with an arbitrary version number). NOTE: it has been reported that this is intended functionality and the user is responsible for using --extra-index-url securely
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- cowlicks.website/posts/arbitrary-code-execution-from-pips-extra-index-url.htmlnvdThird Party Advisory
- pip.pypa.io/en/stable/news/nvdRelease NotesVendor Advisory
- bugzilla.redhat.com/show_bug.cginvd
- lists.apache.org/thread.html/rb1adce798445facd032870d644eb39c4baaf9c4a7dd5477d12bb6ab2%40%3Cgithub.arrow.apache.org%3Envd
News mentions
0No linked articles in our index yet.