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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:pyload-ng_project:pyload-ng:*:*:*:*:*:python:*:*

History

No history.

Information

Published : 2026-04-07 17:16

Updated : 2026-06-17 10:40


NVD link : CVE-2026-35592

Mitre link : CVE-2026-35592

CVE.ORG link : CVE-2026-35592


JSON object : View

Products Affected

pyload-ng_project

  • pyload-ng
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')