{"id":"PYSEC-2026-1848","summary":"python-libarchive directory traversal","details":"python-libarchive through 4.2.1 allows directory traversal (to create files) in extract in zip.py for ZipFile.extractall and ZipFile.extract.","aliases":["CVE-2024-55587","GHSA-75mx-hw5q-pvx3"],"modified":"2026-07-07T17:47:51.810590604Z","published":"2026-07-07T14:34:47.254368Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-55587"},{"type":"WEB","url":"https://github.com/smartfile/python-libarchive/issues/42"},{"type":"WEB","url":"https://github.com/smartfile/python-libarchive/pull/41"},{"type":"PACKAGE","url":"https://github.com/smartfile/python-libarchive"},{"type":"WEB","url":"https://github.com/smartfile/python-libarchive/blob/c7677411bfc4ab5701d343bc6ebd9e35c990e80e/libarchive/zip.py#L107"},{"type":"PACKAGE","url":"https://pypi.org/project/python-libarchive"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-75mx-hw5q-pvx3"}],"affected":[{"package":{"name":"python-libarchive","ecosystem":"PyPI","purl":"pkg:pypi/python-libarchive"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.1"}]}],"versions":["3.0.4-5","3.1.2-1","4.0.0.post1","4.0.1.post1","4.1.0.post1","4.1.0.post2","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.2.0","4.2.0b1","4.2.1"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/python-libarchive/PYSEC-2026-1848.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}