# CVE-2024-55587: python-libarchive directory traversal

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.10%, higher than 82% of CVEs (2026-12-01)
- Published: 2024-12-11T00:00:00.000Z
- Modified: 2026-07-07T17:57:09.689Z
- Also known as: GHSA-75mx-hw5q-pvx3, PYSEC-2026-1848
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- python-libarchive (PyPI): up to 4.2.1

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/smartfile/python-libarchive/blob/c7677411bfc4ab5701d343bc6ebd9e35c990e80e/libarchive/zip.py#L107> (web)
- <https://github.com/smartfile/python-libarchive/issues/42> (web)
- <https://github.com/smartfile/python-libarchive/pull/41> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-55587> (advisory)
- <https://github.com/smartfile/python-libarchive> (package)
- <https://pypi.org/project/python-libarchive> (package)
- <https://github.com/advisories/GHSA-75mx-hw5q-pvx3> (advisory)

## Sources

- CVE List: [CVE-2024-55587](https://www.cve.org/CVERecord?id=CVE-2024-55587), CVE Terms of Use, modified 2024-12-12
- GitHub Advisory Database: [GHSA-75mx-hw5q-pvx3](https://github.com/advisories/GHSA-75mx-hw5q-pvx3), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-55587](https://nvd.nist.gov/vuln/detail/CVE-2024-55587), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1848](https://osv.dev/vulnerability/PYSEC-2026-1848), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-55587 · Whole record: https://cve.day/CVE-2024-55587.json · Rebuilt by cve.day 2026-11-25T22:58:50.001Z
