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.

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.orgCVE-2019-9948

    Official CVE identifier

    cve.org
  • NIST NVDCVE-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 Securityhttp://packetstormsecurity.com/files/154927/Slackware-Security-Advisory-python-Updates.html

    Packet Storm link already published on the finding.

    packetstormsecurity.com

References