CVE-2007-4559Python
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Python · Python We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Python.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | python | < 3.6.16 |
| python | python | ≥ 3.7.0 < 3.8.17 |
| python | python | ≥ 3.9.0 < 3.9.17 |
| python | python | ≥ 3.10.0 < 3.10.12 |
| python | python | ≥ 3.11.0 < 3.11.4 |
Official advisories
- Security update for python3 · SUSE · SUSE-SU-2026:0210-1 · Jan 22, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- mail.python.org Mailing List Vendor Advisory
- mail.python.org Exploit Mailing List
- secunia.com Broken Link
- www.vupen.com Broken Link
- bugzilla.redhat.com Issue Tracking
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org