CVE-2019-9948: urllib in Python 2.x through 2.7.16 supports the local_file: scheme, which makes it easier for remote attackers to bypass protection mech…
CVE-2019-9948 affects 65 listed versions of Python in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Python
65 of 250 listed versions are affected. Fixed in 3.7.4, 3.6.9, 3.5.8, 2.7.17. The newest release, 3.15.2, is not affected.
3.7.3 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.5.7 3.5.6 3.5.5 3.5.4 3.5.3 3.5.2 3.5.1 3.5.0 2.7.16 2.7.15 2.7.14 2.7.13 2.7.12 2.7.11 2.7.10 2.7.9 2.7.8 2.7.7 2.7.6 2.6.6150 2.6.2150 2.6.9 2.6.8 2.6.7 2.6.6 2.6.5 2.6.4 2.6.3 2.6.2 2.6.1 2.5.150 2.5.12 2.5.6 2.5.4 2.5.3 2.5.2 2.5.1 2.5.0 2.4.6 2.4.4 2.4.3 2.4.2 2.4.1 2.4.0 2.3.7 2.3.6 2.3.5 2.3.4 2.3.3 2.3.2 2.3.1 2.2.3 and 5 more
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (NVD)
Published by MITRE on 23 March 2019. Last changed 14 October 2026.
Sources
Check one version you run: look CVE-2019-9948 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.