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
Score elevated to 9.8 because EPSS predicts 90% probability of exploitation within the next 30 days (top 0.4% of all CVEs). NVD baseline CVSS 9.8 retained for reference. Confidence: see factors.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(high)
- EPSS
- 97.8%
- KEV
- Not listed
Published
August 28, 2007
Last Modified
April 23, 2026
Advisory Details (7)
Auto-updated May 12, 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/[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/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/3022Vendor Advisories for CVE-2007-4559(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(14)
| Vendor / Ecosystem | Fixed in / 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-0:3.6.8-56.el8_9 | 2023-11-14 | redhat |
| redhat | python3.11-pip-0:22.3.1-4.el8 | 2023-11-14 | redhat |
| redhat | python3.11-0:3.11.5-1.el8_9 | 2023-11-14 | redhat |
| redhat | python-pip-0:9.0.3-23.el8 | 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 | rh-python38-python-pip-0:19.3.1-4.el7 | 2023-11-08 | 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.11-pip-0:22.3.1-4.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.
Additional Vendor Advisories
(13)
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.
- Microsoft MSRCCVE-2007-45592020-09-25
CVE-2007-4559
- 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:7050MODERATE2007-08-24
RHSA-2023:7050 — 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 7× in last 7d / 28× 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 14:03 UTCEPSS rescore
- 2026-07-21 15:19 UTCEPSS rescore
- 2026-07-20 17:03 UTCEPSS rescore
- 2026-07-18 09:59 UTCEPSS rescore
- 2026-07-16 16:58 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 01:55 UTCEPSS rescore
- 2026-07-13 06:07 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-08 15:09 UTCEPSS rescore
- 2026-07-06 16:22 UTCEPSS rescore
- 2026-07-05 02:26 UTCEPSS rescore
- 2026-07-04 06:27 UTCEPSS rescore
- 2026-07-04 06:27 UTCEPSS rescore
- 2026-07-02 14:00 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-28 04:52 UTCEPSS rescore
- 2026-06-27 03:04 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
Show 53 moreShow fewer
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-15 17:44 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-10 22:14 UTCEPSS rescore
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:37 UTCEPSS rescore
- 2026-05-27 13:37 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-20 11:06 UTCVendor advisory
- 2026-05-20 11:06 UTCGHSA enrichment
- 2026-05-20 06:51 UTCVendor advisory
- 2026-05-20 06:51 UTCGHSA enrichment
- 2026-05-20 02:49 UTCVendor advisory
- 2026-05-20 02:49 UTCGHSA enrichment
- 2026-05-19 22:46 UTCVendor advisory
- 2026-05-19 22:46 UTCGHSA enrichment
- 2026-05-19 18:44 UTCVendor advisory
- 2026-05-19 18:44 UTCGHSA enrichment
- 2026-05-19 14:35 UTCVendor advisory
- 2026-05-19 14:35 UTCGHSA enrichment
- 2026-05-19 10:05 UTCVendor advisory
- 2026-05-19 10:05 UTCGHSA enrichment
- 2026-05-19 05:47 UTCVendor advisory
- 2026-05-19 05:47 UTCVendor advisory
- 2026-05-19 05:47 UTCGHSA enrichment
- 2026-05-19 05:47 UTCGHSA enrichment
- 2026-05-19 01:45 UTCEG score recompute
- 2026-05-19 01:45 UTCVendor advisory
- 2026-05-19 01:44 UTCGHSA enrichment
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCadvanced-threat-research/CreosoteFirst seen Sep 20, 2022
Creosote is our solution to searching for the tarfile vulnerability described by CVE-2007-4559.
Open source ↗
Related CVEs(same vendor)
Frequently asked(5)
What is CVE-2007-4559?
When was CVE-2007-4559 disclosed?
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.