Skip to main content
VulnerabilityPublished Updated

pyload-ng · pyLoad: Tar extraction creates device nodes and FIFOs (member types not filtered; tarfile extractall without filter=)

Affects pyload-ngSource GCVE Database

0

CVSS 7.7 High.

Data as of 9 Nov 2026, 22:18 UTC

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

What to do

Affected software

ProductAffectedFixed in
PyPIpyload-ngAffected
  • <=0.5.0b3.dev101
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

In the meantime, it is recommended to modify the UnTar extractor to reject or skip any tar archive members that are device nodes or FIFOs by checking member types before extraction. Additionally, use the filter="data" argument with tarfile.extractall on Python 3.12 or later to restrict extraction to safe member types. Apply the same member-type validation in pre-extraction validation routines to ensure all extractors share this protection. Avoid running pyLoad-ng as root to reduce impact.

Description

pyLoad-ng versions up to 0.5.0b3.dev101 contain a vulnerability in the UnTar extractor where tar archive member types are not properly validated during extraction. This allows crafted tar archives containing device nodes or FIFOs to be created on disk. When pyLoad runs as root, such as in the official Docker deployment, this can lead to raw disk access and full host compromise. The vulnerability arises because the extraction function calls tarfile.extractall without a filter, and only validates member names and link targets, not member types. This issue affects Python versions prior to 3.14, which default to a fully trusted extraction filter.

References

Community reviews

Loading reviews…