CVE-2026-29778
pyLoad has an Arbitrary File Write via Path Traversal in edit_package()
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | pyload-ng | >= 0.5.0b3.dev13, <= 0.5.0b3.dev96 | 0.5.0b3.dev97 |
Betroffene Produkte · Pyload-ng Project
| Produkt | Betroffene Versionen |
|---|---|
| Pyload-ng | ab 0.5.0b3.dev13 vor 0.5.0b3.dev97 |