Live threats

All CVEs / Python

CVE-2007-4559Python

Critical 9.8 No auth neededHigh EPSS

Priority
77
CVSS 3.1
9.8
EPSS
27.1%
probability of exploitation in 30 days · percentile 98
Auth required
No
Published
Aug 28, 2007
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
pythonpython< 3.6.16
pythonpython≥ 3.7.0 < 3.8.17
pythonpython≥ 3.9.0 < 3.9.17
pythonpython≥ 3.10.0 < 3.10.12
pythonpython≥ 3.11.0 < 3.11.4

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.