CVE-2026-35592
MEDIUM 6.5CVSS 3.1pyload-ng: Incomplete Tar Path Traversal Fix in UnTar._safe_extractall via os.path.commonprefix Bypass
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.
- Published
- 7 Apr 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-mvwx-582f-56r7PYSEC-2026-124
- Sources
- NVDJSONOSV GHSA-mvwx-582f-56r7JSONOSV PYSEC-2026-124JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pyload-ng_project | pyload-ngcpe:2.3:a:pyload-ng_project:pyload-ng:*:*:*:*:*:python:*:* |
<= 0.5.0b3.dev96 | |
| OSV | PyPI | pyload-ng | < 0.5.0b3.dev97 | 0.5.0b3.dev97 |
References
- https://github.com/pyload/pyload/security/advisories/GHSA-mvwx-582f-56r7 · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2026-35592 · ADVISORY
- https://github.com/pyload/pyload · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/pyload-ng/PYSEC-2026-124.yaml · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 7 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Apr 2026)