CVE-2019-20916
Python packages · CVE-2019-20916
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 3.003% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:26.590Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:20.735Z | OSV |
| affected | verified | 2026-11-19T12:55:19.298Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:19.298Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/pypa/pip/issues/6413",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/pypa/pip/compare/19.1.1...19.2",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2020/09/msg00010.html",
"name": "[debian-lts-announce] 20200911 [SECURITY] [DLA 2370-1] python-pip security update",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html",
"name": "openSUSE-SU-2020:1598",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
]
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html",
"name": "openSUSE-SU-2020:1613",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
]
},
{
"url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://www.oracle.com/security-alerts/cpujul2022.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-05T03:00:17.373Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-gpvv-69j7-gwj8",
"aliases": [
"CVE-2019-20916",
"PYSEC-2020-173"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "19.2"
}
]
}
],
"package": {
"name": "pip",
"purl": "pkg:pypi/pip",
"ecosystem": "PyPI"
},
"versions": [
"0.2",
"0.2.1",
"0.3",
"0.3.1",
"0.4",
"0.5",
"0.5.1",
"0.6",
"0.6.1",
"0.6.2",
"0.6.3",
"0.7",
"0.7.1",
"0.7.2",
"0.8",
"0.8.1",
"0.8.2",
"0.8.3",
"1.0",
"1.0.1",
"1.0.2",
"1.1",
"1.2",
"1.2.1",
"1.3",
"1.3.1",
"1.4",
"1.4.1",
"1.5",
"1.5.1",
"1.5.2",
"1.5.3",
"1.5.4",
"1.5.5",
"1.5.6",
"10.0.0",
"10.0.0b1",
"10.0.0b2",
"10.0.1",
"18.0",
"18.1",
"19.0",
"19.0.1",
"19.0.2",
"19.0.3",
"19.1",
"19.1.1",
"6.0",
"6.0.1",
"6.0.2",
"6.0.3",
"6.0.4",
"6.0.5",
"6.0.6",
"6.0.7",
"6.0.8",
"6.1.0",
"6.1.1",
"7.0.0",
"7.0.1",
"7.0.2",
"7.0.3",
"7.1.0",
"7.1.1",
"7.1.2",
"8.0.0",
"8.0.1",
"8.0.2",
"8.0.3",
"8.1.0",
"8.1.1",
"8.1.2",
"9.0.0",
"9.0.1",
"9.0.2",
"9.0.3"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-gpvv-69j7-gwj8/GHSA-gpvv-69j7-gwj8.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-20916",
"type": "ADVISORY"
},
{
"url": "https://github.com/pypa/pip/issues/6413",
"type": "WEB"
},
{
"url": "https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-gpvv-69j7-gwj8",
"type": "ADVISORY"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2020-173.yaml",
"type": "WEB"
},
{
"url": "https://github.com/pypa/pip",
"type": "WEB"
},
{
"url": "https://github.com/pypa/pip/compare/19.1.1...19.2",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2020/09/msg00010.html",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpujul2022.html",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2020-09-04T20:15:00Z",
"github_reviewed_at": "2021-05-04T22:55:04Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2020-173",
"aliases": [
"CVE-2019-20916",
"GHSA-gpvv-69j7-gwj8"
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gzpan123/pip",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "a4c735b14a62f9cb864533808ac63936704f2ace"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "19.2"
}
]
}
],
"package": {
"name": "pip",
"purl": "pkg:pypi/pip",
"ecosystem": "PyPI"
},
"versions": [
"0.2",
"0.2.1",
"0.3",
"0.3.1",
"0.4",
"0.5",
"0.5.1",
"0.6",
"0.6.1",
"0.6.2",
"0.6.3",
"0.7",
"0.7.1",
"0.7.2",
"0.8",
"0.8.1",
"0.8.2",
"0.8.3",
"1.0",
"1.0.1",
"1.0.2",
"1.1",
"1.2",
"1.2.1",
"1.3",
"1.3.1",
"1.4",
"1.4.1",
"1.5",
"1.5.1",
"1.5.2",
"1.5.3",
"1.5.4",
"1.5.5",
"1.5.6",
"6.0",
"6.0.1",
"6.0.2",
"6.0.3",
"6.0.4",
"6.0.5",
"6.0.6",
"6.0.7",
"6.0.8",
"6.1.0",
"6.1.1",
"7.0.0",
"7.0.1",
"7.0.2",
"7.0.3",
"7.1.0",
"7.1.1",
"7.1.2",
"8.0.0",
"8.0.1",
"8.0.2",
"8.0.3",
"8.1.0",
"8.1.1",
"8.1.2",
"9.0.0",
"9.0.1",
"9.0.2",
"9.0.3",
"10.0.0b1",
"10.0.0b2",
"10.0.0",
"10.0.1",
"18.0",
"18.1",
"19.0",
"19.0.1",
"19.0.2",
"19.0.3",
"19.1",
"19.1.1"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/pip/PYSEC-2020-173.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/pypa/pip/issues/6413",
"type": "REPORT"
},
{
"url": "https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace",
"type": "FIX"
},
{
"url": "https://github.com/pypa/pip/compare/19.1.1...19.2",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2020/09/msg00010.html",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-gpvv-69j7-gwj8",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | pip | Not a distribution channel | 19.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:55:19.298ZArchived source JSON
Source publication: 2020-09-04T19:20:55.000Z
Source modification: 2024-08-05T03:00:17.373ZDocument fingerprint
03b37b47d73ca8bd5c755da51301c9d321668665171bbf3c0b3ed7b68c7a597c - OSVConsulted: 2026-11-19T12:52:20.735ZArchived source JSON
Source publication: 2021-06-09T17:35:04.000Z
Source modification: 2024-10-14T18:39:41.495ZDocument fingerprint
2ffc3a59a0692feaaea6049b8380e7aba1d15d7056010e7541469d99c5a00cf9 - OSVConsulted: 2026-11-19T12:52:20.735ZArchived source JSON
Source publication: 2020-09-04T20:15:00.000Z
Source modification: 2023-11-08T04:01:31.361ZDocument fingerprint
2ffc3a59a0692feaaea6049b8380e7aba1d15d7056010e7541469d99c5a00cf9 - FIRST EPSSConsulted: 2026-11-19T16:04:26.590ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
998129b66c9b00bec5d61bf0852ac08b10eda0fe4ab0b3ac088e4b344e19b4d3
Official status history
- UNKNOWN → PUBLISHED · · evidence