CVE-2026-40594
MEDIUMDescription
pyLoad is a free and open-source download manager written in Python. Prior to 0.5.0b3.dev98, the set_session_cookie_secure before_request handler in src/pyload/webui/app/__init__.py reads the X-Forwarded-Proto header from any HTTP request without validating that the request originates from a trusted proxy, then mutates the global Flask configuration SESSION_COOKIE_SECURE on every request. Because pyLoad uses the multi-threaded Cheroot WSGI server (request_queue_size=512), this creates a race condition where an attacker's request can influence the Secure flag on other users' session cookies — either downgrading cookie security behind a TLS proxy or causing a session denial-of-service on plain HTTP deployments. This vulnerability is fixed in 0.5.0b3.dev98.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
Exploit Intelligence
Low risk: more likely to be exploited than 7% of all known CVEs.
References
Related Vulnerabilities
Other CWE-346 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2009-1185 | High | 7.2 | 82% | - | Fix |
| CVE-2025-34291 | High | 8.8 | 79% | KEV | - |
| CVE-2020-16952 | High | 8.6 | 71% | - | - |
| CVE-2023-29711 | Critical | 9.8 | 70% | - | - |
| CVE-2015-4495 | High | 8.8 | 70% | KEV | Fix |
| CVE-2024-23898 | High | 8.8 | 67% | - | Fix |
Embed a live status badge for CVE-2026-40594
Markdown
[](https://tridentstack.com/cve/CVE-2026-40594)HTML
<a href="https://tridentstack.com/cve/CVE-2026-40594"><img src="https://tridentstack.com/cve/badge/CVE-2026-40594.svg" alt="CVE-2026-40594"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-27.