Path Traversal in Pyload
CVE-2026-35592
pyLoad is a free and open-source download manager written in Python. Prior to 0.5.0b3.dev97, the _safe_extractall() function in src/pyload/plugins/extractors/UnTar.py uses os.path.commonprefix() for its path traversal check, which performs character-level string comparison rather than path-level comparison. This allows a specially crafted tar archive to write files outside the intended extraction directory. The correct function os.path.commonpath() was added to the codebase in the CVE-2026-32808 fix (commit 5f4f0fa) but was never applied to _safe_extractall(), making this an incomplete fix. This vulnerability is fixed in 0.5.0b3.dev97.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.003, 18.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Pyload — versions < 0.5.0b3.dev97
- Pyload-Ng Project
Weakness classification (CWE)
References
- https://github.com/pyload/pyload/security/advisories/GHSA-mvwx-582f-56r7 (Exploit, Vendor Advisory)