pyLoad (pyload-ng) before 0.5.0b3.dev102 preserves setuid/setgid mode bits on extracted regular files because UnTar.safeextractall calls tarfile.extractall without a filter argument, which defaults to fullytrusted on Python 3.9-3.13. Attackers can deliver a crafted tar download that ExtractArchive extracts with setuid intact, leaving a setuid-root binary on root-run instances that enables local privilege escalation.
pyLoad is a free and open-source download manager written in Python. From version 0.4.20 to before version 0.5.0b3.dev97, the localcheck decorator in pyLoad's ClickNLoad feature can be bypassed by any remote attacker through HTTP Host header spoofing. This allows unauthenticated remote users to access localhost-restricted endpoints, enabling them to inject arbitrary downloads, write files to the storage directory, and execute JavaScript code. This issue has been patched in version 0.5.0b3.dev97.