CVE-2007-4559

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.

Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source adp
Exploit chance (EPSS)
27.095%
chance of exploitation in the next 30 days
higher than 98.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableyes
Technical impacttotal
Scored2025-01-17

Timeline

  1. 2007-08-28Published by the CNA00:00 UTC
  2. 2025-01-17CISA SSVC decision recorded6352 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
python pythonfrom 3.10.0 before 3.10.12fixed in 3.10.12from 3.11.0 before 3.11.4fixed in 3.11.4before 3.6.16fixed in 3.6.16from 3.7.0 before 3.8.17fixed in 3.8.17from 3.9.0 before 3.9.17fixed in 3.9.173.10.123.11.43.6.163.8.173.9.17

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources