HomeCVE Intelligence › CVE-2026-42315
CVSS 8.1 HIGH Vulnerability

CVE-2026-42315: PyLoad vulnerable to Path Traversal via Package Folder Name in set_package_data

Summary No sanitization of package folder name allows writing files anywhere outside the intended download directory. Affected Component src/pyload/core/api/__init__.py Function: set_package_data() Details When passing…

8.1CVSS Score
HIGHSeverity
NOCISA KEV
VulnerabilityImpact Type

📋 Vulnerability Details

CVE IDCVE-2026-42315
Vendorpip
Affected Productpyload-ng
Vulnerability TypeVulnerability
CVSS Score8.1 (HIGH)
Actively Exploited❌ No known exploitation
Patch StatusSee Vendor Advisory →
Reported ByCYBERDUDEBIVASH SENTINEL APEX Intelligence (via github_advisories)

🔬 Technical Analysis

#

Summary

No sanitization of package folder name allows writing files anywhere outside the intended download directory.

Affected Component

src/pyload/core/api/__init__.py
• Function: set_package_data()

Details

When passing a folder name in the set_package_data() API function call inside the data object with key "_folder", there is no sanitization at all, allowing a user with Perms.MODIFY to specify arbitrary directories as download locations for a package.

PoC

1) Create a package, note response package ID e.g. 5 ``` curl -X 'POST' \ 'http://localhost:8000/api/add_package' \ -H 'accept: application/json' \ -H 'X-API-Key: ' \ -H 'Content-Type: application/json' \ -d '{ "name": "set_package_data_exploit_poc", "links": [ "http://example.com/file.txt" ], "dest": 1 }

🎯 Known Indicators of Compromise

{"type":"url","value":"http://localhost:8000/api/add_package","confidence_score":0.82,"first_seen":"2026-05-05","source_count":1} {"type":"url","value":"http://example.com/file.txt","confidence_score":0.82,"first_seen":"2026-05-05","source_count":1} {"type":"domain","value":"example.com","confidence_score":0.75,"first_seen":"2026-05-05","source_count":1}

📚 Advisory References

⚡ DETECTION RULES AVAILABLE

Get CVE-2026-42315 Detection Pack

Sigma rules, YARA signatures, IOC table, and SIEM queries for Splunk, Elastic, Sentinel, and Chronicle — deployable in 5 minutes.

✓ Sigma Rules ✓ YARA Pack ✓ IOC Table ✓ SIEM Queries
🛡️ Get Detection Pack → 🔌 Access via API →

🔗 Related Intelligence