# CVE-2026-35592: pyLoad has an Incomplete Tar Path Traversal Fix in UnTar._safe_extractall via os.path.commonprefix Bypass

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-07T16:11:38.209Z
- Modified: 2026-06-17T10:40:49.740Z
- Also known as: GHSA-mvwx-582f-56r7, PYSEC-2026-124
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- pyload pyload: < 0.5.0b3.dev97
- pyload-ng (PyPI): before 0.5.0b3.dev97
- pyload-ng_project pyload-ng: up to 0.5.0b3.dev96

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/pyload/pyload/security/advisories/GHSA-mvwx-582f-56r7> (exploit, evidence, vendor-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2026-35592](https://www.cve.org/CVERecord?id=CVE-2026-35592), CVE Terms of Use, modified 2026-04-08
- GitHub Advisory Database: [GHSA-mvwx-582f-56r7](https://github.com/advisories/GHSA-mvwx-582f-56r7), CC-BY-4.0, modified 2026-06-08
- NVD: [CVE-2026-35592](https://nvd.nist.gov/vuln/detail/CVE-2026-35592), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-124](https://osv.dev/vulnerability/PYSEC-2026-124), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2026-35592 · Whole record: https://cve.day/CVE-2026-35592.json · Rebuilt by cve.day 2026-11-25T22:59:18.132Z
