Live threats

All CVEs / Python

CVE-2019-9948Python

Critical 9.1 No auth neededHigh EPSS

Priority
71
CVSS 3.1
9.1
EPSS
11.9%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Mar 23, 2019
Updated
Oct 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

urllib in Python 2.x through 2.7.16 supports the local_file: scheme, which makes it easier for remote attackers to bypass protection mechanisms that blacklist file: URIs, as demonstrated by triggering a urllib.urlopen('local_file:///etc/passwd') call.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
pythonpython≥ 2.0 < 2.7.17
pythonpython≥ 3.5.0 < 3.5.8
pythonpython≥ 3.6.0 < 3.6.9
pythonpython≥ 3.7.0 < 3.7.4
opensuseleap15.0
opensuseleap42.3
debiandebian_linux8.0
debiandebian_linux9.0
fedoraprojectfedora29
fedoraprojectfedora30
canonicalubuntu_linux12.04
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux19.04
redhatenterprise_linux_desktop7.0
redhatenterprise_linux_desktop8.0
redhatenterprise_linux_eus8.1
redhatenterprise_linux_eus8.2
redhatenterprise_linux_eus8.4
redhatenterprise_linux_eus8.6
redhatenterprise_linux_server7.0
redhatenterprise_linux_server8.0
redhatenterprise_linux_server_eus8.4
redhatenterprise_linux_tus8.2
redhatenterprise_linux_tus8.4
redhatenterprise_linux_tus8.6
redhatenterprise_linux_workstation7.0
redhatenterprise_linux_workstation8.0

Official sources

References

Links published by the sources. Open them with care.