Skip to content
Noroxi
NVD / CVE Program· CNA mitre

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 h

Noroxi assessment

Priority: Monitor (action score 31/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 3% (FIRST EPSS); higher than 87.2% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: python-psycopg2-doc (AlmaLinux:8) 2.7.5-7.module_el8.6.0+2781+fed64c13; python-sqlalchemy-doc (AlmaLinux:8) 1.3.2-2.module_el8.6.0+2781+fed64c13, 1.3.2-2.module_el8.5.0+2569+5c5719bc; python2-attrs (AlmaLinux:8) 17.4.0-10.module_el8.6.0+2781+fed64c13.
  • Mentioned 3 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to python-psycopg2-doc (AlmaLinux:8) 2.7.5-7.module_el8.6.0+2781+fed64c13; python-sqlalchemy-doc (AlmaLinux:8) 1.3.2-2.module_el8.6.0+2781+fed64c13, 1.3.2-2.module_el8.5.0+2569+5c5719bc; python2-attrs (AlmaLinux:8) 17.4.0-10.module_el8.6.0+2781+fed64c13 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 7.5 · v3.1—No exploit Fix available
Published
Sep 4, 2020
Updated
Jun 16, 2026
EPSS
3.0% · 87th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.0%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2019-20916

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
pypapip
opensuseleap
debiandebian linux
oraclecommunications cloud native core network function cloud native environment
oraclecommunications cloud native core policy

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux9.0
  • opensuse leap15.1
  • opensuse leap15.2
  • oracle communications cloud native core network function cloud native environment1.10.0
  • oracle communications cloud native core network function cloud native environment22.1.0
  • oracle communications cloud native core policy1.15.0
  • pypa pipbefore 19.2

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8python-psycopg2-docbefore 2.7.5-7.module_el8.6.0+2781+fed64c132.7.5-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python-sqlalchemy-docbefore 1.3.2-2.module_el8.6.0+2781+fed64c131.3.2-2.module_el8.6.0+2781+fed64c13
AlmaLinux:8python-sqlalchemy-docbefore 1.3.2-2.module_el8.5.0+2569+5c5719bc1.3.2-2.module_el8.5.0+2569+5c5719bc
AlmaLinux:8python2-attrsbefore 17.4.0-10.module_el8.6.0+2781+fed64c1317.4.0-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-chardetbefore 3.0.4-10.module_el8.6.0+2781+fed64c133.0.4-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-coveragebefore 4.5.1-4.module_el8.6.0+2781+fed64c134.5.1-4.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-Cythonbefore 0.28.1-7.module_el8.6.0+2781+fed64c130.28.1-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-dnsbefore 1.15.0-10.module_el8.6.0+2781+fed64c131.15.0-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-docsbefore 2.7.16-2.module_el8.6.0+2781+fed64c132.7.16-2.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-docs-infobefore 2.7.16-2.module_el8.6.0+2781+fed64c132.7.16-2.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-docutilsbefore 0.14-12.module_el8.6.0+2781+fed64c130.14-12.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-funcsigsbefore 1.0.2-13.module_el8.6.0+2781+fed64c131.0.2-13.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-idnabefore 2.5-7.module_el8.6.0+2781+fed64c132.5-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-ipaddressbefore 1.0.18-6.module_el8.6.0+2781+fed64c131.0.18-6.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-markupsafebefore 0.23-19.module_el8.6.0+2781+fed64c130.23-19.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-mockbefore 2.0.0-13.module_el8.6.0+2781+fed64c132.0.0-13.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-pluggybefore 0.6.0-8.module_el8.6.0+2781+fed64c130.6.0-8.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-psycopg2before 2.7.5-7.module_el8.6.0+2781+fed64c132.7.5-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-psycopg2-debugbefore 2.7.5-7.module_el8.6.0+2781+fed64c132.7.5-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-psycopg2-testsbefore 2.7.5-7.module_el8.6.0+2781+fed64c132.7.5-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-pybefore 1.5.3-6.module_el8.6.0+2781+fed64c131.5.3-6.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-PyMySQLbefore 0.8.0-10.module_el8.6.0+2781+fed64c130.8.0-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-pysocksbefore 1.6.8-6.module_el8.6.0+2781+fed64c131.6.8-6.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-pytestbefore 3.4.2-13.module_el8.6.0+2781+fed64c133.4.2-13.module_el8.6.0+2781+fed64c13

+96

Same product

pypa: all records

Other highest-scoring records for the same primary product.

  • CVE-2018-20225An issue was discovered in pip (all versions) because it installs the version with the highest version number, even if the user had intended
    32Monitor
  • CVE-2013-1629pip before 1.3 uses HTTP to retrieve packages from the PyPI repository, and does not perform integrity checks on package contents, which all
    29Monitor
  • CVE-2013-5123The mirroring support (-M, --use-mirrors) in Python Pip before 1.5 uses insecure DNS querying and authenticity checks which allows attackers
    25Monitor

Published before and after this one in the same product

  • ← EarlierCVE-2013-1888Aug 17, 2013 · pip before 1.3 allows local users to overwrite arbitrary files via a symlink attack on a file in the /tmp/pip-build temporary directory.
    8Monitor
  • ← EarlierCVE-2014-8991Nov 24, 2014 · pip 1.3 through 1.5.6 allows local users to cause a denial of service (prevention of package installation) by creating a /tmp/pip-build-* fi
    8Monitor
  • Later →CVE-2021-3572Nov 10, 2021 · A flaw was found in python-pip in the way it handled Unicode separators in git references.
    23Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:python-psycopg2-doc2.7.5-7.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python-sqlalchemy-doc1.3.2-2.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-attrs17.4.0-10.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-chardet3.0.4-10.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-coverage4.5.1-4.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-Cython0.28.1-7.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-dns1.15.0-10.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-docs2.7.16-2.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-docs-info2.7.16-2.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-docutils0.14-12.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-funcsigs1.0.2-13.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-PyMySQL0.8.0-10.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
debian:python-pip20.0.2-1 · Debian:12Package registry (OSV)
opensuse:python2.7.17-lp151.10.29.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:python-base2.7.17-lp151.10.29.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:python-doc2.7.17-lp151.10.29.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:python-pip20.0.2-150100.6.18.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:python-pip-wheel10.0.1-lp152.4.6.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:python-setuptools40.5.0-lp152.3.3.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:python-setuptools-test40.5.0-lp152.3.3.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:python-setuptools-wheel40.5.0-lp152.3.3.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:python33.6.12-lp152.4.9.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:python3-base3.6.12-lp152.4.9.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:python3-core3.6.12-lp152.4.17.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:python3-doc3.6.12-lp152.4.9.1 · openSUSE:Leap 15.2Package registry (OSV)
PyPI:pip19.2Package registry (OSV)
red hat:python27-python0:2.7.18-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:python27-python-debug0:2.7.18-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:python27-python-debuginfo0:2.7.18-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:python27-python-devel0:2.7.18-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)

+33

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
high · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
High
Availability impact
None

CVSS vector

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

nvd-primary

Root cause

A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const file = path.join(ROOT, req.query.name);res.sendFile(file);

Fixed

ts
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records