CVE Catalog

CVE-2026-35592

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.30%

25th percentile - higher than 25% of all known CVEs

Summary

In pyLoad prior to 0.5.0b3.dev97, the _safe_extractall() function in UnTar.py uses os.path.commonprefix() for path traversal checks, which performs character-level comparison instead of path-level. This allows a crafted tar archive to write files outside the intended extraction directory. The fix is incomplete because os.path.commonpath() was not applied to this function.

Risk Assessment

An attacker could supply a malicious tar archive that writes files to arbitrary locations, potentially leading to file overwrite or code execution. This requires user interaction with the archive in pyLoad.

Recommendation

Update pyLoad to version 0.5.0b3.dev97 or later. Until then, avoid extracting untrusted tar archives.

Other vulnerabilities in pyLoad

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS