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.
Published: 2026-04-07
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Write via Path Traversal
Action: Immediate Patch
AI Analysis

Impact

The vulnerability resides in pyLoad’s _safe_extractall() function, which verifies extraction paths using a character‑level comparison. This allows a specially crafted tar archive to create files outside the intended directory, compromising file integrity and potentially overwriting critical system files. The weakness is a typical path‑traversal flaw that can lead to arbitrary file write, with the extent of damage depending on the directory the application runs in. The identified weakness maps to CWE‑22, indicating a security issue where untrusted input influences a path computation that is not adequately validated.

Affected Systems

Any installation of pyLoad before version 0.5.0b3.dev97 is affected. The product is the open‑source download manager pyLoad, maintained by the pyload community. Users running older revisions that still use the _safe_extractall() routine with os.path.commonprefix() are vulnerable. Upgrading to 0.5.0b3.dev97 or later resolves the issue.

Risk and Exploitability

The CVSS score of 5.3 signifies a moderate severity, meaning the vulnerability can be exploited in a non‑interactive or low‑privilege scenario. EPSS data is unavailable, so the exact likelihood of exploitation cannot be quantified, but the flaw is not listed in the CISA KEV catalog, suggesting no known exploitation at the time. The attack vector is inferred to be local file system traversal: an attacker can supply a malicious tar file to pyLoad, resulting in files being written outside the designated extraction directory. If pyLoad runs with elevated privileges or writes to sensitive locations, the potential impact could be high. Nonetheless, without confirmed exploitation, the risk remains moderate pending further monitoring.

Generated by OpenCVE AI on April 7, 2026 at 23:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade pyLoad to version 0.5.0b3.dev97 or later
  • Verify the integrity of the installed pyLoad version using the release notes or commit history
  • Monitor for any anomalous file creation in extraction directories
  • Consider restricting file extraction permissions to a non‑privileged user to limit potential damage

Generated by OpenCVE AI on April 7, 2026 at 23:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mvwx-582f-56r7 pyload-ng: Incomplete Tar Path Traversal Fix in UnTar._safe_extractall via os.path.commonprefix Bypass
History

Thu, 16 Apr 2026 21:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:pyload:pyload:*:*:*:*:*:*:*:*

Thu, 16 Apr 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Pyload-ng Project
Pyload-ng Project pyload-ng
CPEs cpe:2.3:a:pyload-ng_project:pyload-ng:*:*:*:*:*:python:*:*
cpe:2.3:a:pyload:pyload:*:*:*:*:*:*:*:*
Vendors & Products Pyload-ng Project
Pyload-ng Project pyload-ng

Wed, 08 Apr 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Pyload
Pyload pyload
Vendors & Products Pyload
Pyload pyload

Wed, 08 Apr 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 07 Apr 2026 18:00:00 +0000

Type Values Removed Values Added
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.
Title pyLoad has an Incomplete Tar Path Traversal Fix in UnTar._safe_extractall via os.path.commonprefix Bypass
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N'}


Subscriptions

Pyload Pyload
Pyload-ng Project Pyload-ng
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-08T14:58:21.343Z

Reserved: 2026-04-03T21:25:12.161Z

Link: CVE-2026-35592

cve-icon Vulnrichment

Updated: 2026-04-08T14:58:18.442Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-07T17:16:34.280

Modified: 2026-04-16T21:11:52.380

Link: CVE-2026-35592

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-08T19:48:01Z

Weaknesses