CVE-2024-55587

HIGH

python-libarchive through 4.2.1 - Path Traversal via ZipFile.extract and ZipFile.extractall

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-55587. PoCs published by CSIRTTrizna.

AI-analyzed exploit summary This PoC demonstrates a path traversal vulnerability in the libarchive Python library (CVE-2024-55587) by generating a malicious ZIP file that writes to an arbitrary location (/tmp/vulnerable.txt) during extraction. The vulnerable_unzip.py script simulates the unsafe extraction behavior.

Description

python-libarchive through 4.2.1 allows directory traversal (to create files) in extract in zip.py for ZipFile.extractall and ZipFile.extract.

Exploits (1)

nomisec WORKING POC 2 stars
by CSIRTTrizna · poc
https://github.com/CSIRTTrizna/CVE-2024-55587

This PoC demonstrates a path traversal vulnerability in the libarchive Python library (CVE-2024-55587) by generating a malicious ZIP file that writes to an arbitrary location (/tmp/vulnerable.txt) during extraction. The vulnerable_unzip.py script simulates the unsafe extraction behavior.

Classification
Working Poc 90%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: libarchive Python library (version not specified)
No auth needed
Prerequisites: Python with pyzipper and libarchive.zip libraries installed
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 8.8
EPSS 0.3734
EPSS Percentile 97.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-22
Status published
Products (1)
pypi/python-libarchive 0PyPI
Published Dec 12, 2024
Tracked Since Feb 18, 2026