CVE & CISA-KEV Catalog

CVE-2026-40594

MEDIUM
4.8
CVSS v3
NVD

Description

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 Available
pyload-ngNVD
Affected:< 0.5.0b3.dev69Fixed in:0.5.0b3.dev69CVE-2026-40594derived from NVD

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

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityLow

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

Exploit Intelligence

0.17%probability of exploitation in 30 days
7thpercentile

Low risk: more likely to be exploited than 7% of all known CVEs.

References

Exploit1

Related Vulnerabilities

Other CWE-346 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2009-1185High7.282%-Fix
CVE-2025-34291High8.879%KEV-
CVE-2020-16952High8.671%--
CVE-2023-29711Critical9.870%--
CVE-2015-4495High8.870%KEVFix
CVE-2024-23898High8.867%-Fix
Embed a live status badge for CVE-2026-40594
CVE-2026-40594 severity badge

Markdown

[![CVE-2026-40594](https://tridentstack.com/cve/badge/CVE-2026-40594.svg)](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 free

This 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.