Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2018-20225

26
FAUCET Score

CVE-2018-20225 describes a vulnerability in pip (all versions) where it prioritizes packages with the highest version number, potentially leading to the installation of malicious packages from public indexes when a private package was intended via --extra-index-url. This high-severity vulnerability (CVSS 7.8) requires user interaction and a public package name not already present in the public index, allowing an attacker to achieve high impact across confidentiality, integrity, and availability. There is currently no evidence of active exploitation, public exploit code, or significant community discussion surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
All Versions ImpactedCPE matchmatch criteria
cpe:2.3:a:pypa:pip:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.8HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.74%
Probability of exploitation in next 30 days
EPSS Percentile
75.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0174 is in the 74th percentile among its peer group of 11,617 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (7)

microsoftpatch availablevia msrc
Product: 16961-16820Fixed in: 19.2-2
microsoftpatch availablevia msrc
Product: cm1 python-pip 19.2-2 on CBL Mariner 1.0Fixed in: 19.2-2
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: python-pip
redhatend of lifevia redhat_api
Product: Red Hat Software CollectionsFixed in: python27-python-pip
redhatend of lifevia redhat_api
Product: Red Hat Software CollectionsFixed in: rh-python36-python-pip
redhatend of lifevia redhat_api
Product: Red Hat Quay 3Fixed in: python27-python-pip
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: python-pip

Vendor Advisories (2)

microsoft2020-May/CVE-2018-20225Important

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

May 12, 2020
redhatCVE-2018-20225Low

python-pip: when --extra-index-url option is used and package does not already exist in the public index, the installation of malicious package with arbitrary version number is possible.

Apr 28, 2020

References

bugzilla.redhat.com / show_bug.cgi
cowlicks.website / posts/arbitrary-code-execution-from-pips-extra-index-url.html
Third Party Advisory
lists.apache.org / thread.html/rb1adce798445facd032870d644eb39c4baaf9c4a7dd5477d12bb6ab2%40%3Cgithub.arrow.apache.org%3E
pip.pypa.io / en/stable/news
Release NotesVendor Advisory