Pyload ng: pyLoad: Tar extraction creates device nodes and FIFOs (member types not filtered; tarfile extractall without filter=)
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.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The UnTar extractor in pyLoad-ng does not check tar archive member types during extraction, only validating member names and symlink/hardlink targets. It calls tarfile.extractall without a filter= argument, which on Python versions below 3.14 defaults to fully trusted extraction. This allows crafted tar archives containing character device nodes or FIFOs to be created on disk. When pyLoad runs as root, this can lead to creation of device nodes granting raw disk access, resulting in full host compromise. The vulnerability is exploitable by any low-privileged user who can trigger archive extraction via the API. The issue extends a prior fix (GHSA-mvwx-582f-56r7) that addressed path traversal and link validation but did not cover member types. The recommended remediation is to reject or skip any archive members that are not regular files, directories, or safe links, and to use the filter="data" argument in extractall on Python 3.12+, or backport equivalent checks for older versions.
Potential Impact
An attacker able to supply a crafted tar archive to pyLoad-ng running as root can cause the creation of arbitrary device nodes (character/block devices) and FIFOs on the host filesystem. This can lead to raw disk access and full host compromise. Even non-root deployments can have FIFOs and device nodes created in user-accessible directories, potentially causing denial of service or IPC confusion. The vulnerability is reachable by any low-privileged user who can invoke the archive extraction API.
Mitigation Recommendations
No official patch or fix is explicitly stated in the provided data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fr26-jjhm-638c
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6ac96e612cdf04f65689a8ff
Added to database: 10/09/2026, 22:44:49 UTC
Last enriched: 10/09/2026, 22:53:47 UTC
Last updated: 10/09/2026, 22:53:47 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.