---
id: CVE-2019-10160
title: >-
  A security regression of CVE-2019-9636 was discovered in python since commit
  d537ab0ff9767ef024f26246899728f0116b1ec3 affecting versions 2.7, 3.5, 3.6, 3.7
  and from v3.8.0a4 through v3.8.0b1, which still allows an attacker to exploit
  CVE…
summary: >-
  A security regression of CVE-2019-9636 was discovered in python since commit
  d537ab0ff9767ef024f26246899728f0116b1ec3 affecting versions 2.7, 3.5, 3.6, 3.7
  and from v3.8.0a4 through v3.8.0b1, which still allows an attacker to exploit
  CVE…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-172
  - CWE-522
vendor: python
product: python
affected:
  - 'python >= 2.7.0, < 2.7.17'
  - 'python >= 3.5.0, < 3.5.8'
  - 'python >= 3.6.0, < 3.6.9'
  - 'python >= 3.7.0, < 3.7.4'
  - python = 3.8.0
  - enterprise_linux_desktop = 7.0
  - enterprise_linux_eus = 7.6
  - enterprise_linux_server = 7.0
  - enterprise_linux_server_aus = 7.6
  - enterprise_linux_server_tus = 7.6
  - enterprise_linux_workstation = 7.0
  - debian_linux = 8.0
  - debian_linux = 9.0
  - leap = 15.0
  - leap = 15.1
  - fedora = 29
  - fedora = 30
  - fedora = 31
  - ubuntu_linux = 12.04
  - ubuntu_linux = 14.04
  - ubuntu_linux = 16.04
  - ubuntu_linux = 18.04
  - ubuntu_linux = 19.04
  - virtualization = 4.0
  - cloud_backup
  - converged_systems_advisor_agent
patched:
  - python 3.7.4
published: '2019-06-07'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T19:17:11.967'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2019-10160'
references:
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00042.html'
    label: secalert@redhat.com
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2019:1587'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2019:1700'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2019:2437'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10160'
    label: secalert@redhat.com
  - url: >-
      https://github.com/python/cpython/commit/250b62acc59921d399f0db47db3b462cd6037e09
    label: secalert@redhat.com
  - url: >-
      https://github.com/python/cpython/commit/8d0ef0b5edeae52960c7ed05ae8a12388324f87e
    label: secalert@redhat.com
  - url: >-
      https://github.com/python/cpython/commit/f61599b050c621386a3fc6bc480359e2d3bb93de
    label: secalert@redhat.com
  - url: >-
      https://github.com/python/cpython/commit/fd1771dbdd28709716bd531580c40ae5ed814468
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0%40%3Cissues.bookkeeper.apache.org%3E
    label: secalert@redhat.com
  - url: 'https://lists.debian.org/debian-lts-announce/2019/06/msg00022.html'
    label: secalert@redhat.com
  - url: 'https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html'
    label: secalert@redhat.com
  - url: 'https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html'
    label: secalert@redhat.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2ORNTF62QPLMJXIQ7KTZQ2776LMIXEKL/
    label: secalert@redhat.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/44TS66GJMO5H3RLMVZEBGEFTB6O2LJJU/
    label: secalert@redhat.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4X3HW5JRZ7GCPSR7UHJOLD7AWLTQCDVR/
    label: secalert@redhat.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E2HP37NUVLQSBW3J735A2DQDOZ4ZGBLY/
    label: secalert@redhat.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ER6LONC2B2WYIO56GBQUDU6QTWZDPUNQ/
    label: secalert@redhat.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HQEQLXLOCR3SNM3AA5RRYJFQ5AZBYJ4L/
    label: secalert@redhat.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JCPGLTTOBB3QEARDX4JOYURP6ELNNA2V/
    label: secalert@redhat.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KRYFIMISZ47NTAU3XWZUOFB7CYL62KES/
    label: secalert@redhat.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M34WOYCDKTDE5KLUACE2YIEH7D37KHRX/
    label: secalert@redhat.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NF3DRDGMVIRYNZMSLJIHNW47HOUQYXVG/
    label: secalert@redhat.com
  - url: >-
      https://python-security.readthedocs.io/vuln/urlsplit-nfkc-normalization2.html
    label: secalert@redhat.com
  - url: 'https://security.netapp.com/advisory/ntap-20190617-0003/'
    label: secalert@redhat.com
  - url: 'https://usn.ubuntu.com/4127-1/'
    label: secalert@redhat.com
  - url: 'https://usn.ubuntu.com/4127-2/'
    label: secalert@redhat.com
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00042.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2019:1587'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2019:1700'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2019:2437'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10160'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/python/cpython/commit/250b62acc59921d399f0db47db3b462cd6037e09
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/python/cpython/commit/8d0ef0b5edeae52960c7ed05ae8a12388324f87e
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/python/cpython/commit/f61599b050c621386a3fc6bc480359e2d3bb93de
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/python/cpython/commit/fd1771dbdd28709716bd531580c40ae5ed814468
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0%40%3Cissues.bookkeeper.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2019/06/msg00022.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2ORNTF62QPLMJXIQ7KTZQ2776LMIXEKL/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/44TS66GJMO5H3RLMVZEBGEFTB6O2LJJU/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4X3HW5JRZ7GCPSR7UHJOLD7AWLTQCDVR/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E2HP37NUVLQSBW3J735A2DQDOZ4ZGBLY/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ER6LONC2B2WYIO56GBQUDU6QTWZDPUNQ/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HQEQLXLOCR3SNM3AA5RRYJFQ5AZBYJ4L/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JCPGLTTOBB3QEARDX4JOYURP6ELNNA2V/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KRYFIMISZ47NTAU3XWZUOFB7CYL62KES/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M34WOYCDKTDE5KLUACE2YIEH7D37KHRX/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NF3DRDGMVIRYNZMSLJIHNW47HOUQYXVG/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://python-security.readthedocs.io/vuln/urlsplit-nfkc-normalization2.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20190617-0003/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://usn.ubuntu.com/4127-1/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://usn.ubuntu.com/4127-2/'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - cve.org
epss: 0.05227
epssPercentile: 0.92285
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-07T18:23:24.180971Z'
ingestedAt: '2026-10-07T18:42:20.897Z'
---

## Overview

A security regression of CVE-2019-9636 was discovered in python since commit d537ab0ff9767ef024f26246899728f0116b1ec3 affecting versions 2.7, 3.5, 3.6, 3.7 and from v3.8.0a4 through v3.8.0b1, which still allows an attacker to exploit CVE-2019-9636 by abusing the user and password parts of a URL. When an application parses user-supplied URLs to store cookies, authentication credentials, or other kind of information, it is possible for an attacker to provide specially crafted URLs to make the application locate host-related information (e.g. cookies, authentication data) and send them to a different host than where it should, unlike if the URLs had been correctly parsed. The result of an attack may vary based on the application.

## Affected

- `python >= 2.7.0, < 2.7.17`
- `python >= 3.5.0, < 3.5.8`
- `python >= 3.6.0, < 3.6.9`
- `python >= 3.7.0, < 3.7.4`
- `python = 3.8.0`
- `enterprise_linux_desktop = 7.0`
- `enterprise_linux_eus = 7.6`
- `enterprise_linux_server = 7.0`
- `enterprise_linux_server_aus = 7.6`
- `enterprise_linux_server_tus = 7.6`
- `enterprise_linux_workstation = 7.0`
- `debian_linux = 8.0`
- `debian_linux = 9.0`
- `leap = 15.0`
- `leap = 15.1`
- `fedora = 29`
- `fedora = 30`
- `fedora = 31`
- `ubuntu_linux = 12.04`
- `ubuntu_linux = 14.04`
- `ubuntu_linux = 16.04`
- `ubuntu_linux = 18.04`
- `ubuntu_linux = 19.04`
- `virtualization = 4.0`
- `cloud_backup`
- `converged_systems_advisor_agent`

## Remediation

Upgrade past the affected range:

- `python 3.7.4`
