CVE-2026-145667: pyLoad before 0.5.0b3.dev102 Privilege Escalation via Tar Setuid Bit Preservation

Published Dec 6, 2026
·
Updated

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.

Affected Software

1 affected component
pypi/pyload-ng<0.5.0b3.dev102

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.5.0b3.dev102

Event History

Dec 6, 2026
CVE Published
via MITRE·12:16 AM
Data Sourced
via MITRE·12:16 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:18 AM
DescriptionSeverityWeakness
Event
via NVD·01:18 AM

Frequently Asked Questions

1

Which deployments are most exposed?

Instances running pyLoad as root are directly exposed, because extraction can leave behind a setuid-root binary. The issue applies to affected pyLoad versions on Python 3.9 through 3.13.

2

What does an attacker need to exploit this?

An attacker needs the ability to deliver a crafted tar download that pyLoad processes through ExtractArchive. Exploitation then requires local execution of the extracted setuid binary to escalate privileges.

3

Are default tar extraction settings affected?

Yes. The vulnerable code calls tarfile.extractall without a filter argument, which defaults to fully_trusted on Python 3.9 through 3.13 and preserves setuid and setgid mode bits on extracted regular files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203