# CVE-2018-20225

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-05-08 · Modified: 2026-04-15
- Aliases: UBUNTU-CVE-2018-20225, DEBIAN-CVE-2018-20225, CGA-88qh-x6m9-v75g, CGA-8g9x-p8cj-p743, CGA-9mjq-gwjw-jcrx, CGA-jj96-rcfc-x4ww, CGA-mm9w-2xhf-xfjg, CGA-vpm2-mrg6-82rr, CGA-8x49-p253-mmm8, CGA-hqhm-rp8r-7cfp
- Record: https://cvemate.com/vulnerability/CVE-2018-20225 · JSON: https://cvemate.com/vulnerability/CVE-2018-20225/json

## Description

```text
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
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.78%, percentile 79.013%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard conda (Chainguard): All versions (No fix recorded)
- chainguard pulumi (Chainguard): All versions (No fix recorded)
- chainguard py3-pip (Chainguard): All versions (No fix recorded)
- chainguard py3.9-pip (Chainguard): All versions (No fix recorded)
- wolfi conda (Wolfi): All versions (No fix recorded)
- wolfi pulumi (Wolfi): All versions (No fix recorded)
- wolfi py3-pip (Wolfi): All versions (No fix recorded)
- debian python-pip (Debian): All versions (No fix recorded)
- ubuntu python-pip (Ubuntu): All versions (No fix recorded)

## References

- <https://pip.pypa.io/en/stable/news/>
- <https://cowlicks.website/posts/arbitrary-code-execution-from-pips-extra-index-url.html>
- <https://lists.apache.org/thread.html/rb1adce798445facd032870d644eb39c4baaf9c4a7dd5477d12bb6ab2%40%3Cgithub.arrow.apache.org%3E>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1835736>
- <https://ubuntu.com/security/CVE-2018-20225>
- <https://www.cve.org/CVERecord?id=CVE-2018-20225>
- <https://security-tracker.debian.org/tracker/CVE-2018-20225>
- <https://nvd.nist.gov/vuln/detail/CVE-2018-20225>

---

Data as of 2026-12-05T10:01:15.877Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
