VAITP Dataset

← Back to the dataset

CVE-2026-123814

Authenticated user can make pyLoad server send blind internal HTTP POSTs.

  • CVSS 6.4
  • CWE-918
  • Input Validation and Sanitization
  • Remote

pyLoad is a free and open-source download manager written in Python. Prior to 0.5.0b3.dev102, an authenticated non-admin user with the SETTINGS permission can configure WindowsPhoneNotify through /json/save_config by setting pushurl, pushid, and enabled. WindowsPhoneNotify.send in src/pyload/plugins/addons/WindowsPhoneNotify.py then uses http.client.HTTPConnection without pyLoad's pycurl destination validation. When a download completes, the global notification event causes a blind POST from the pyLoad server to the attacker-selected internal host, port, and path. The response is not returned, but the request can probe internal services, reach cloud metadata endpoints, or trigger state-changing internal HTTP endpoints. This issue is fixed in version 0.5.0b3.dev102.

CVSS base score
6.4
Published
2026-11-09
OWASP
A10 Server-Side Request Forgery (SSRF)
Orthogonal defect classification
Checking
Code defect classification
Missing Check
Category
Input Validation and Sanitization
Subcategory
Server-Side Request Forgery (SSRF)
Accessibility scope
Remote
Impact
Information Disclosure
Affected component
pyLoad
Fixed by upgrading
Yes

Solution

Upgrade pyLoad to version 0.5.0b3.dev102 or newer.

Vulnerable code sample

import http.client
import json

class WindowsPhoneNotify:
    def __init__(self, config):
        self.enabled = config.get('enabled', False)
        self.pushurl = config.get('pushurl', '')
        self.pushid = config.get('pushid', '')

    def send(self, message):
        if not self.enabled:
            return
        # VULNERABLE: uses raw user‑controlled URL in HTTPConnection (SSRF)
        conn = http.client.HTTPConnection(self.pushurl)
        payload = json.dumps({"id": self.pushid, "msg": message})
        conn.request("POST", "/notify", payload, {"Content-Type": "application/json"})
        conn.getresponse()
        conn.close()

Patched code sample

import http.client
import json
import urllib.parse

class WindowsPhoneNotify:
    def __init__(self, config):
        self.enabled = config.get('enabled', False)
        self.pushurl = config.get('pushurl', '')
        self.pushid = config.get('pushid', '')

    def send(self, message):
        if not self.enabled:
            return
        # FIX: validate host against allowed list before connecting
        parsed = urllib.parse.urlparse('http://' + self.pushurl)
        allowed_hosts = {'api.internal', 'notify.service.local'}
        if parsed.hostname not in allowed_hosts:
            return
        conn = http.client.HTTPConnection(self.pushurl)
        payload = json.dumps({"id": self.pushid, "msg": message})
        conn.request("POST", "/notify", payload, {"Content-Type": "application/json"})
        conn.getresponse()
        conn.close()

Cite this entry

@misc{vaitp:cve2026123814,
  title        = {{Authenticated user can make pyLoad server send blind internal HTTP POSTs.}},
  author       = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
  year         = {2026},
  note         = {VAITP Python Vulnerability Dataset, entry CVE-2026-123814},
  howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-123814/}}
}

Download this entry as JSON Download the whole dataset

Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.

The supreme art of war is to subdue the enemy without fighting.

Sun Tzu – “The Art of War”

:: Shaping the future through research and ingenuity ::

Before you use the VAITP AI models

Please read and accept the following disclaimer:

By choosing "I understand and accept", you acknowledge that you understand and agree to these terms.