← Vulnerability feed

Vulnerability record · CVE-2018-18074 · published 9 October 2018

CVE-2018-18074: Python requests insufficiently protected credentials vulnerability

Python · Requests

The Requests package before 2.20.0 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.

7.5 CVSS 3.1 High EPSS 7.4% · top 5.8% CWE-522 · Insufficiently protected credentials
7.5CVSS 3.1 base score, v2 5.0
7.4%EPSS exploitation probability, 30 days
NoNot in CISA KEV
6Affected product versions listed by NVD
20References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

The Requests package before 2.20.0 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.

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

Affected products

6 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://docs.python-requests.org/en/master/community/updates/#release-and-version-history Release NotesThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html Mailing ListThird Party Advisory
https://access.redhat.com/errata/RHSA-2019:2035 Third Party Advisory
https://bugs.debian.org/910766 ExploitIssue TrackingPatchThird Party Advisory
https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff PatchThird Party Advisory
https://github.com/requests/requests/issues/4716 ExploitPatchThird Party Advisory
https://github.com/requests/requests/pull/4718 PatchThird Party Advisory
https://usn.ubuntu.com/3790-1/ Third Party Advisory
https://usn.ubuntu.com/3790-2/ Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.html
http://docs.python-requests.org/en/master/community/updates/#release-and-version-history Release NotesThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html Mailing ListThird Party Advisory
https://access.redhat.com/errata/RHSA-2019:2035 Third Party Advisory
https://bugs.debian.org/910766 ExploitIssue TrackingPatchThird Party Advisory
https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff PatchThird Party Advisory
https://github.com/requests/requests/issues/4716 ExploitPatchThird Party Advisory
https://github.com/requests/requests/pull/4718 PatchThird Party Advisory
https://usn.ubuntu.com/3790-1/ Third Party Advisory
https://usn.ubuntu.com/3790-2/ Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.html

Track CVE-2018-18074 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-16846SaltStack Salt API shell injection via crafted web requestsSaltStack Salt through 3002 is vulnerable to OS command injection when the SSH client is enabled and crafted web requests are sent to the Salt API. T…KEVEPSS 100%analysed9.8CVE-2020-12641Roundcube Webmail OS command injection via image conversion path settingsRoundcube Webmail before 1.4.4 passes the im_convert_path and im_identify_path configuration settings to a shell without sanitization in rcube_image.…KEVEPSS 84%analysed9.8CVE-2020-11651SaltStack Salt master authentication bypass in ClearFuncsSaltStack Salt before 2019.2.4 and 3000 before 3000.2 fails to properly validate method calls in the salt-master ClearFuncs class, allowing remote un…KEVEPSS 97%analysed9.8CVE-2020-1938Apache Tomcat AJP connector file read and JSP execution flawApache Tomcat shipped an AJP Connector enabled by default that listened on all configured IP addresses, and Tomcat treats AJP connections as more tru…KEVEPSS 99%analysed9.8CVE-2020-7247OpenSMTPD MAIL FROM command injection allows remote root code executionOpenSMTPD 6.6, as shipped in OpenBSD 6.6 and other products, mishandles input validation in smtp_mailaddr in smtp_session.c, returning an incorrect v…KEVEPSS 99%analysed9.8CVE-2019-5544OpenSLP heap out-of-bounds write in VMware ESXi and Horizon DaaSOpenSLP as shipped in VMware ESXi and Horizon DaaS contains a heap overwrite (out-of-bounds write) flaw. VMware rates it Critical with a maximum CVSS…KEVEPSS 97%analysed9.8CVE-2019-11043PHP-FPM buffer overflow enables remote code executionPHP-FPM in certain configurations writes past allocated buffers into FCGI protocol data space, an out-of-bounds write (CWE-787, CWE-120). It affects …KEVEPSS 100%analysed9.8CVE-2019-16928Exim heap buffer overflow in string_vformat via long EHLO commandExim 4.92 through 4.92.2 contains a heap-based buffer overflow in string_vformat in string.c triggered by a long EHLO command, allowing remote code e…KEVEPSS 42%analysed

Source: NIST National Vulnerability Database (record CVE-2018-18074), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.