Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remote attackers to overwrite arbitrary files via a .. (dot dot) sequence in filenames in a TAR archive, a related issue to CVE-2001-1267.
CVE-2007-4559
“—” beside the score: it is equal to NVD's CVSS score.
Score 9.8 from GitHub Security Advisory (severity: MODERATE) published 2022-05-01. NVD baseline CVSS 9.8; sources differ by 0.0.
Also known asEUVD-2007-4541 (ENISA EUVD) · GHSA-gw9q-c7gh-j9vm (GitHub Security Advisories)Source: ENISA EUVD
- Public exploit or proof-of-concept code is available
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8CRITICALmedium confidence
- EG Risk
- 75EG Risk 75/100
EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.
How it’s computed (value × EchelonGraph’s weight)Severity98% × 45%Impact severity (EG Severity): CVSS 9.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.Exploitation40% × 40%EchelonGraph's fixed weight for EG-KEV Tier 3 (Elevated): a constant, not a probability.Automatability100% × 15%CISA's SSVC Automatable value: yes (Vulnrichment).SSVC (CISA's decision table, applied by EchelonGraph): Track at low, Track* at medium and Attend at high mission impact.Exploitation public PoC (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 27%
- EPSS %ILE
- 98th
- KEV
- Not listed
What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)
The EG score (9.8): severity, escalated by confirmed exploitation. This CVE's 9.8 is its impact severity (EG Severity), not escalated.
- EG Severity
- 9.8 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
- EG Likelihood
- 27% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-01). FIRST's exploitation probability, not an EchelonGraph model.
- Confirmed exploitation
- None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
- EG Priority
- SSVC Track* at medium mission impactTrack at low, Track* at medium and Attend at high mission impact.CISA BOD 26-04: 3 days if the affected system is publicly exposed; 60 days if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.
SSVC (CISA's decision table, applied by EchelonGraph)Track at low, Track* at medium and Attend at high mission impact.
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation public PoC (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)3 days if the affected system is publicly exposed; 60 days if it is not.
The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
Published
August 28, 2007
Last Modified
April 23, 2026
Advisory Details (7)
Auto-updated Oct 8, 2026Samba: Multiple Vulnerabilities (GLSA 202309-06) — Gentoo security
https://security.gentoo.org/glsa/202309-06[SECURITY] Fedora 40 Update: python3.6-3.6.15-27.fc40 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KA4Z44ZAI4SY7THCFBUDNT5EEFO4XQ3A/[SECURITY] Fedora 39 Update: python3.6-3.6.15-27.fc39 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FI55PGL47ES3OU2FQPGEHOI2EK3S2OBH/263261 – (CVE-2007-4559) CVE-2007-4559 python: tarfile module directory traversal
Affected: Red Hat Enterprise Linux 9
https://bugzilla.redhat.com/show_bug.cgi?id=263261VUPEN Security - Vulnerability Research and Intelligence
http://www.vupen.com/english/advisories/2007/3022[SECURITY] Fedora 38 Update: python3.6-3.6.15-27.fc38 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CVBB7NU3YIRRDOKLYVN647WPRR3IAKR6/Vendor Advisories for CVE-2007-4559(4)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2024:0430Red Hat Product SecurityMedium
Red Hat Security Advisory: python3 security update
- RHSA-2023:7050Red Hat Product SecurityMedium
Red Hat Security Advisory: python38:3.8 and python38-devel:3.8 security update
- RHSA-2023:6793Red Hat Product SecurityHigh
Red Hat Security Advisory: rh-python38-python security update
- CVE-2007-4559Microsoft Security Response Center (MSRC)
CVE-2007-4559
Patch Availability(14)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| redhat | python-pip-0:9.0.3-22.1.el8_8 | 2024-01-30 | redhat |
| redhat | python3-0:3.6.8-47.el8_6.4 | 2024-01-25 | redhat |
| redhat | python-pip-0:9.0.3-22.1.el8_6 | 2024-01-23 | redhat |
| redhat | python3.11-0:3.11.5-1.el8_9 | 2023-11-14 | redhat |
| redhat | python38-devel:3.8-8090020230810143931.d9f72c26 | 2023-11-14 | redhat |
| redhat | python39-devel:3.9-8090020230922213827.7484f1d1 | 2023-11-14 | redhat |
| redhat | python3.11-pip-0:22.3.1-4.el8 | 2023-11-14 | redhat |
| redhat | python3-0:3.6.8-56.el8_9 | 2023-11-14 | redhat |
| redhat | python-pip-0:9.0.3-23.el8 | 2023-11-14 | redhat |
| redhat | rh-python38-python-pip-0:19.3.1-4.el7 | 2023-11-08 | redhat |
| redhat | python3.11-pip-0:22.3.1-4.el9 | 2023-11-07 | redhat |
| redhat | python3.11-0:3.11.5-1.el9_3 | 2023-11-07 | redhat |
| redhat | python-pip-0:21.2.3-7.el9 | 2023-11-07 | redhat |
| redhat | python3.9-0:3.9.18-1.el9_3 | 2023-11-07 | 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
(11)
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.
- Red HatRHSA-2023:6324MODERATE2007-08-24
RHSA-2023:6324 — Moderate
- Red HatRHSA-2023:6494MODERATE2007-08-24
RHSA-2023:6494 — Moderate
- Red HatRHSA-2023:6659MODERATE2007-08-24
RHSA-2023:6659 — Moderate
- Red HatRHSA-2023:6694MODERATE2007-08-24
RHSA-2023:6694 — Moderate
- Red HatRHSA-2023:6914MODERATE2007-08-24
RHSA-2023:6914 — Moderate
- Red HatRHSA-2023:7024MODERATE2007-08-24
RHSA-2023:7024 — Moderate
- Red HatRHSA-2023:7034MODERATE2007-08-24
RHSA-2023:7034 — Moderate
- Red HatRHSA-2023:7151MODERATE2007-08-24
RHSA-2023:7151 — Moderate
- Red HatRHSA-2023:7176MODERATE2007-08-24
RHSA-2023:7176 — Moderate
- Red HatRHSA-2024:0374MODERATE2007-08-24
RHSA-2024:0374 — Moderate
- Red HatRHSA-2024:0587MODERATE2007-08-24
RHSA-2024:0587 — Moderate
Data Freshness Timeline
(refreshed 28× in last 7d / 93× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. 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. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 100 of 197 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. None are among the latest 100 rows. The 97 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-11-02 04:21 UTCEG score recompute
- 2026-11-02 04:21 UTCVendor advisory
- 2026-11-02 04:21 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub severity MODERATE · GitHub CVSS 9.8
- 2026-11-01 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-11-01 06:01 UTCEG score recompute
- 2026-11-01 06:01 UTCVendor advisory
- 2026-11-01 06:01 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-31 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-31 07:41 UTCEG score recompute
- 2026-10-31 07:41 UTCVendor advisory
- 2026-10-31 07:41 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-30 16:26 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-30 09:22 UTCEG score recompute
- 2026-10-30 09:22 UTCVendor advisory
- 2026-10-30 09:22 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-29 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-29 11:04 UTCEG score recompute
- 2026-10-29 11:04 UTCVendor advisory
- 2026-10-29 11:04 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-28 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-28 12:35 UTCEG score recompute
- 2026-10-28 12:35 UTCVendor advisory
- 2026-10-28 12:35 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-27 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-27 14:16 UTCEG score recompute
Show 75 moreShow fewer
- 2026-10-27 14:16 UTCVendor advisory
- 2026-10-27 14:16 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-26 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-26 15:30 UTCVendor advisory
- 2026-10-26 15:30 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-25 16:40 UTCEG score recompute
- 2026-10-25 16:40 UTCVendor advisory
- 2026-10-25 16:40 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-25 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-24 18:19 UTCEG score recompute
- 2026-10-24 18:19 UTCVendor advisory
- 2026-10-24 18:19 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-24 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-23 20:00 UTCEG score recompute
- 2026-10-23 20:00 UTCVendor advisory
- 2026-10-23 20:00 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-23 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-22 21:40 UTCEG score recompute
- 2026-10-22 21:40 UTCVendor advisory
- 2026-10-22 21:40 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-22 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-21 23:11 UTCEG score recompute
- 2026-10-21 23:11 UTCVendor advisory
- 2026-10-21 23:11 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-21 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-21 00:50 UTCEG score recompute
- 2026-10-21 00:50 UTCVendor advisory
- 2026-10-21 00:50 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-20 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-20 02:31 UTCEG score recompute
- 2026-10-20 02:31 UTCVendor advisory
- 2026-10-20 02:31 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-19 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-19 01:58 UTCEG score recompute
- 2026-10-19 01:58 UTCVendor advisory
- 2026-10-19 01:58 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-18 03:39 UTCEG score recompute
- 2026-10-18 03:39 UTCVendor advisory
- 2026-10-18 03:39 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-17 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-17 05:18 UTCEG score recompute
- 2026-10-17 05:18 UTCVendor advisory
- 2026-10-17 05:17 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-16 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-16 06:51 UTCEG score recompute
- 2026-10-16 06:51 UTCVendor advisory
- 2026-10-16 06:51 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-15 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-15 05:34 UTCEG score recompute
- 2026-10-15 05:34 UTCVendor advisory
- 2026-10-15 05:33 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-14 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-14 01:12 UTCEG score recompute
- 2026-10-14 01:12 UTCVendor advisory
- 2026-10-14 01:12 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-13 16:25 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-12 21:20 UTCEG score recompute
- 2026-10-12 21:20 UTCVendor advisory
- 2026-10-12 21:19 UTCGHSA enrichmentGHSA-gw9q-c7gh-j9vm · GitHub CVSS 9.8
- 2026-10-12 16:26 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-12 02:05 UTCEG score recompute
- 2026-10-11 13:37 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-10 19:53 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-09 20:00 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-08 16:33 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-07 23:37 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-06 15:09 UTCEPSS rescoreEPSS 27% · 98th percentile
- 2026-10-05 17:37 UTCEPSS rescoreEPSS 27% · 97th percentile
- 2026-10-03 14:20 UTCEPSS rescoreEPSS 27% · 97th percentile
- 2026-10-01 19:42 UTCEPSS rescoreEPSS 27% · 97th percentile
- 2026-09-30 14:57 UTCEPSS rescoreEPSS 27% · 97th percentile
- 2026-09-29 07:43 UTCEG score recompute
- 2026-09-18 19:20 UTCEPSS rescoreEPSS 27% · 97th percentile
- 2026-09-17 19:20 UTCEPSS rescoreEPSS 27% · 97th percentile
- 2026-09-15 03:04 UTCEPSS rescoreEPSS 27% · 97th percentile
Publicly available exploits
(1 reference)Public exploit code is referenced for this CVE (1 GitHub PoC). Defenders should treat patch urgency accordingly.
- GitHub PoCadvanced-threat-research/CreosotePublished Sep 20, 2022
Creosote is our solution to searching for the tarfile vulnerability described by CVE-2007-4559.
Open source ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat:RHSA-2023:6793 · redhat:RHSA-2023:6494 · redhat:RHSA-2024:0430
Frequently asked(5)
What is CVE-2007-4559?
When was CVE-2007-4559 made public?
Is CVE-2007-4559 actively exploited?
What is the CVSS score of CVE-2007-4559?
How do I remediate CVE-2007-4559?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2007-4559
Is Your Infrastructure Affected by CVE-2007-4559?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.