← Back to results
Vulnerability record · public intelligence
CVE-2019-20916
HIGH

Path Traversal in pip

Published Sep 4, 2020 · Updated Oct 23, 2026 · Also known as PYSEC-2020-173, GHSA-gpvv-69j7-gwj8

Severity · CVSSHIGH · 7.5
Known exploitationNot listed
EPSS / likelihood3.00%
QFinch risk score10 / 100

Original summary

Normalized public record · Updated Oct 23, 2026

Path Traversal in pip

Publisher and source text is retained separately from QFinch interpretation.

QFinch assessment

The pip package before 19.2 for Python allows Directory Traversal when a URL is given in an install command, because a Content-Disposition header can have ../ in a filename, as demonstrated by overwriting the /root/.ssh/authorized_keys file. This occurs in _download_http_url in _internal/download.py. A fix was committed 6704f2ace.

Evidence: public source records

Affected products

Affected scope reported by the available public evidence
Affected package, product or rangeFix status
Consult the referenced vendor advisory for affected versions.Consult source advisory

Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.

Remediation

Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.

  1. Confirm the affected product and reachable code path exist in your environment.
  2. Apply the vendor-supported patch or mitigation from the primary advisory.
  3. Rescan the exact deployed revision and retain verification evidence.
Review primary references

Evidence coverage

CVENVDOSVEPSSGHSA
SSVC priority
MEDIUM
Confidence
10%
Aliases
PYSEC-2020-173, GHSA-gpvv-69j7-gwj8

Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.

Sources and record history

  1. GitHub advisory ↗
  2. Patch commit ↗
  3. Source repository ↗
  4. [debian-lts-announce] 20200911 [SECURITY] [DLA 2370-1] python-pip security update ↗
  5. openSUSE-SU-2020:1598 ↗
  6. openSUSE-SU-2020:1613 ↗
  7. www.oracle.com ↗
  8. www.oracle.com ↗

Record history

Published Sep 4, 2020 · Last refreshed Oct 23, 2026