Advisory

PYSEC-2026-124

Also known as: CVE-2026-35592, GHSA-mvwx-582f-56r7

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Dates

Published
2026-04-07 17:16 UTC
Modified
2026-05-20 09:19 UTC

Affected packages and fixes

pyload-ng

PyPI · All systems

Affected

  • introduced 0, fixed 0.5.0b3.dev97 (ecosystem)

Fixed versions

0.5.0b3.dev97

Fix

  • Fixed version 0.5.0b3.dev97
    pip install --upgrade pyload-ng==0.5.0b3.dev97

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences