Advisory

GHSA-6px9-j4qr-xfjw

Also known as: CVE-2026-29778, PYSEC-2026-121

Summary

pyLoad has an Arbitrary File Write via Path Traversal in edit_package()

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-05 00:32 UTC
Modified
2026-06-08 19:15 UTC

Affected packages and fixes

pyload-ng

PyPI · All systems

Affected

  • introduced 0.5.0b3.dev13, 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences