All vulnerabilities

Servers and applications

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.

Severity
Critical 9.8
Published
28 Aug 2007
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
3.6.16, 3.8.17, 3.9.17, 3.10.12, 3.11.4
Exploit chance
27% in the next 30 daysHigher than 98% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Sources
NVD

Affected software

SoftwareAffected versions
PythonServers and applications · cpe:a:python:python
  • Every version before 3.6.16
  • From 3.7.0 before 3.8.17
  • From 3.9.0 before 3.9.17
  • From 3.10.0 before 3.10.12
  • From 3.11.0 before 3.11.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-4559
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-4559