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.
CVE-2019-9948
Score 9.1 from GitHub Security Advisory (severity: CRITICAL) published 2022-05-24. NVD baseline CVSS 9.1; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.1
- EG Score
- 9.1(medium)
- EPSS
- 95.8%
- KEV
- Not listed
Published
March 23, 2019
Last Modified
November 21, 2024
Advisory Details (8)
Auto-updated Jul 19, 2026[2.7] bpo-35907: Avoid file reading as disallowing the unnecessary URL scheme in urllib (GH-11842)
Fix merged in python/cpython PR #11842 on 2019-05-21 — awaiting tagged release
https://github.com/python/cpython/pull/11842Issue 35907: [security][CVE-2019-9948] Unnecessary URL scheme exists to allow local_file:// reading file in urllib - Python tracker
https://bugs.python.org/issue35907Affected: Red Hat Enterprise Linux 8.
https://access.redhat.com/errata/RHSA-2019:3520Affected: Red Hat Enterprise Linux 8.
https://access.redhat.com/errata/RHSA-2019:3335Affected: Red Hat Enterprise Linux 7.
https://access.redhat.com/errata/RHSA-2019:2030Packet Storm Security
http://packetstormsecurity.com/files/154927/Slackware-Security-Advisory-python-Updates.htmlVendor Advisories for CVE-2019-9948(8)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2020:1462Red Hat Product SecurityMedium
Red Hat Security Advisory: python security update
- RHSA-2020:1346Red Hat Product SecurityMedium
Red Hat Security Advisory: python security update
- RHSA-2020:1268Red Hat Product SecurityMedium
Red Hat Security Advisory: python security update
- RHBA-2020:0547Red Hat Product SecurityHigh
Red Hat Bug Fix Advisory: Container Image Rebuild for Ansible Tower 3.4 Dependency
- RHSA-2019:3725Red Hat Product SecurityMedium
Red Hat Security Advisory: rh-python36-python security, bug fix, and enhancement update
- RHSA-2019:3335Red Hat Product SecurityMedium
Red Hat Security Advisory: python27:2.7 security and bug fix update
- RHSA-2019:3520Red Hat Product SecurityMedium
Red Hat Security Advisory: python3 security and bug fix update
- RHSA-2019:2030Red Hat Product SecurityMedium
Red Hat Security Advisory: python security and bug fix update
Patch Availability(12)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python3.5-venv (3.5.2-2ubuntu0~16.04.8) @ xenial | 2026-05-27 | ubuntu |
| ubuntu | python3.4-venv (3.4.3-1ubuntu1~14.04.7+esm2) @ trusty | 2026-05-27 | ubuntu |
| ubuntu | python3.5-venv (3.5.2-2ubuntu0~16.04.13+esm13) @ xenial | 2026-05-27 | ubuntu |
| redhat | python-0:2.7.5-83.el7_6 | 2020-04-14 | redhat |
| redhat | python-0:2.7.5-63.el7_4 | 2020-04-07 | redhat |
| redhat | python-0:2.7.5-74.el7_5 | 2020-04-01 | redhat |
| redhat | ansible-tower-37/ansible-tower-memcached-rhel7:1.4.15-28 | 2020-02-18 | redhat |
| redhat | rh-python36-python-0:3.6.9-2.el7 | 2019-11-06 | redhat |
| redhat | python27:2.7-8010020190903182548.51c94b97 | 2019-11-05 | redhat |
| redhat | python3-0:3.6.8-15.1.el8 | 2019-11-05 | redhat |
| redhat | python-0:2.7.5-86.el7 | 2019-08-06 | redhat |
| redhat | python27-python-0:2.7.16-6.el7 | 2019-07-08 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(4)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 11× in last 7d / 39× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 22:30 UTCEG score recompute
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 20:02 UTCOSV refresh
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-18 10:02 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-08 15:11 UTCEPSS rescore
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-03 15:26 UTCOSV refresh
Show 69 moreShow fewer
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-28 14:05 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-15 04:43 UTCOSV refresh
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 21:30 UTCEG score recompute
- 2026-05-27 21:30 UTCVendor advisory
- 2026-05-27 21:30 UTCGHSA enrichment
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-24 16:47 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Frequently asked(5)
What is CVE-2019-9948?
When was CVE-2019-9948 disclosed?
Is CVE-2019-9948 actively exploited?
What is the CVSS score of CVE-2019-9948?
How do I remediate CVE-2019-9948?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2019-9948
Is Your Infrastructure Affected by CVE-2019-9948?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.