GitHub Advisoryadvisory · PyPI

GHSA-6px9-j4qr-xfjw pyLoad has an Arbitrary File Write via Path Traversal in edit_package()

HIGH Published 2026-03-05 Modified 2026-06-08 Official page ↗
Aliases
CVE-2026-29778
Ecosystem
PyPI
Packages
pyload-ng
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Weaknesses
CWE-23
Reviewed
2026-03-05

Affected packages

• PyPI pyload-ng: >= 0.5.0b3.dev13, < 0.5.0b3.dev97 → fixed in 0.5.0b3.dev97

Description

The edit_package() function implements insufficient sanitization for the pack_folder parameter. The current protection relies on a single-pass string replacement of "../", which can be bypassed using crafted recursive traversal sequences. Exploitation An authenticated user with MODIFY permission can bypass the sanitization by submitting a payload such as: `pack_folder=..././..././..././tmp` After the single-pass replacement, this becomes: `../../../tmp` Because the traversal sequences are not properly validated, the resulting normalized path escapes the intended storage directory and writes files to /tmp or other locations.

Related

Alias · CVE (1)

  • CVE-2026-29778 pyLoad is a free and open-source download manager written in Python. vulnerability

Weakness · CWE (1)

  • CWE-23 Relative Path Traversal weakness

References