CVE-2024-55587: python-libarchive · Path Traversal
Affects python-libarchiveSource CVE Database V5
Not known to be exploited · CVSS 8.8 High.
Data as of 26 Oct 2026, 11:07 UTC
- EPSS
- 2.1% chance of exploitation in 30 days – higher than 81% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 11 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIpython-libarchivepkg:pypi/python-libarchiveOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediately audit all systems and applications that use python-libarchive for ZIP extraction to identify vulnerable versions (up to 4.2.1).
- Apply patches or updates from the python-libarchive maintainers as soon as they become available.
- Implement strict input validation and sanitization on all ZIP files before extraction, rejecting archives containing directory traversal sequences or absolute paths.
- Use sandboxed or isolated environments for extracting untrusted ZIP files to limit potential damage.
- Employ file system permissions and access controls to restrict write access to critical directories and files.
- Monitor logs and file system changes for suspicious activity related to ZIP extraction processes.
- Consider using alternative, secure libraries for ZIP extraction that have been audited for path traversal vulnerabilities.
- Educate developers and system administrators about the risks of directory traversal in archive extraction and enforce secure coding practices.
- If patching is delayed, implement runtime detection mechanisms to block or alert on extraction attempts with suspicious file paths.
Description
python-libarchive through 4.2.1 allows directory traversal (to create files) in extract in zip.py for ZipFile.extractall and ZipFile.extract.