Skip to main content
VulnerabilityPublished Updated

CVE-2024-55587: python-libarchive · Path Traversal

Affects python-libarchiveSource CVE Database V5

0

Not known to be exploited · CVSS 8.8 High.

Data as of 26 Oct 2026, 12:54 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Dec 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIpython-libarchivepkg:pypi/python-libarchiveOther threatsAffected
  • <=4.2.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediately audit all systems and applications that use python-libarchive for ZIP extraction to identify vulnerable versions (up to 4.2.1).
  2. Apply patches or updates from the python-libarchive maintainers as soon as they become available.
  3. Implement strict input validation and sanitization on all ZIP files before extraction, rejecting archives containing directory traversal sequences or absolute paths.
  4. Use sandboxed or isolated environments for extracting untrusted ZIP files to limit potential damage.
  5. Employ file system permissions and access controls to restrict write access to critical directories and files.
  6. Monitor logs and file system changes for suspicious activity related to ZIP extraction processes.
  7. Consider using alternative, secure libraries for ZIP extraction that have been audited for path traversal vulnerabilities.
  8. Educate developers and system administrators about the risks of directory traversal in archive extraction and enforce secure coding practices.
  9. 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.

References

Community reviews

Loading reviews…