pyLoad has an Arbitrary File Write via Path Traversal in edit_package()
Package
Affected versions
>= 0.5.0b3.dev13, <= 0.5.0b3.dev96
Patched versions
0.5.0b3.dev97
Description
Published to the GitHub Advisory Database
Mar 5, 2026
Reviewed
Mar 5, 2026
Published by the National Vulnerability Database
Mar 7, 2026
Last updated
Jun 8, 2026
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=..././..././..././tmpAfter the single-pass replacement, this becomes:
../../../tmpBecause the traversal sequences are not properly validated, the resulting normalized path escapes the intended storage directory and writes files to /tmp or other locations.
References