Findings

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 mechanisms that blacklist file: UR…

Published Mar 23, 2019 · updated Oct 14, 2026 · python python

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.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Mar 23, 2019 · NIST NVD

    Detected

    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.

  2. Oct 14, 2026 · NIST NVD

    Updated

    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.

Affected

  • cpe canonical/ubuntu linux12.04
  • cpe debian/debian linux8.0
  • cpe debian/debian linux9.0
  • cpe fedoraproject/fedora29
  • cpe opensuse/leap15.0
  • cpe opensuse/leap42.3
  • cpe python/pythonversion unspecified
  • cpe redhat/enterprise linux desktop7.0

Sources

  • CVE.orgVulnerability recordCVE-2019-9948

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2019-9948

    30-day exploitation probability 11.8%

    first.org
  • NIST NVDVulnerability recordCVE-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 mechanisms that blacklist file: URIs, as demonstrated by triggering a urllib.urlopen('local_file:///etc/passwd') call.

    nvd.nist.gov
  • Packet Storm SecurityCited referencehttp://packetstormsecurity.com/files/154927/Slackware-Security-Advisory-python-Updates.html

    Packet Storm link already published on the finding.

    packetstormsecurity.com

References

CVE-2019-9948 · ZeroDay Findings