NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2026-29778: pyLoad has an Arbitrary File Write via Path Traversal in edit_package()

highCVSS 3.1 7.1GHSA-6px9-j4qr-xfjw

The editpackage() function implements insufficient sanitization for the packfolder parameter. The current protection relies on a single-pass string replacement of "../", which can be bypassed using crafted recursive traversal sequences.

Published Mar 5, 2026 · Updated Jun 8, 2026

Affected packages

pyload-ng

Ecosystem
PyPI
Affected
>= 0.5.0b3.dev13, <= 0.5.0b3.dev96
Fixed in
0.5.0b3.dev97
Check
pip show pyload-ng

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to BaranTeyin1, MetinGerdan.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries