Intel

AIKIDO-2026-10076

py7zr is vulnerable to Path Traversal

Path Traversal Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

77

High Risk

This Affects:

PYTHONpy7zr
0.0.1 - 1.1.1
Fixed in 1.1.2

TL;DR

Affected versions of this package are vulnerable to directory traversal (Zip-Slip) attacks during extraction of archives, where crafted entries with symlinks or paths pointing outside the intended extraction directory could cause files to be written to unexpected locations; this patch enhances path validation by adding stricter checks (including symlink resolution) via is_path_valid and rejects invalid extraction paths, mitigating the Zip-Slip risk.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and if you are using it in a production environment.

Background info

py7zr is vulnerable to Path Traversal in versions 0.0.1 - 1.1.1.

How to fix this

Upgrade the py7zr library to the patch version.