CVE-2007-4559

CVE-2007-4559 is a critical-severity vulnerability in Python with a CVSS 3.x base score of 9.8. Its EPSS exploit-prediction score of 27% places it in the 98th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-22.

Key facts

Description

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.

Frequently asked questions

What is CVE-2007-4559?
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.
How severe is CVE-2007-4559?
CVE-2007-4559 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2007-4559 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 27% (98th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2007-4559?
CVE-2007-4559 affects Python. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2007-4559?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
When was CVE-2007-4559 published?
CVE-2007-4559 was published on 2007-08-28 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Python

All CVEs affecting Python →

Other CWE-22 (Path Traversal) vulnerabilities

Browse all CWE-22 (Path Traversal) vulnerabilities →

Threat intelligence

Threat-intel indicators referencing this CVE: