CVE-2026-40594
CVE-2026-40594 is a medium-severity vulnerability in Pyload-ng Project Pyload-ng with a CVSS 3.x base score of 4.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-346.
Key facts
- Severity: Medium (CVSS 3.x base score 4.8)
- EPSS exploit prediction: 0% (7th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-24207
- Weakness: CWE-346
- Affected product: Pyload-ng Project Pyload-ng
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-40594?
- 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 severe is CVE-2026-40594?
- CVE-2026-40594 has a CVSS 3.x base score of 4.8, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity none, and availability low.
- Is CVE-2026-40594 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (7th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-40594?
- CVE-2026-40594 affects Pyload-ng Project Pyload-ng. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-40594?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-40594 have an EU (EUVD) identifier?
- Yes. CVE-2026-40594 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-24207.
- When was CVE-2026-40594 published?
- CVE-2026-40594 was published on 2026-04-21 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:pyload-ng_project:pyload-ng:*:*:*:*:*:python:*:*
More vulnerabilities in Pyload-ng Project Pyload-ng
- CVE-2026-33511 — Critical (CVSS 9.8): pyLoad is a free and open-source download manager written in Python. From version 0.4.20 to before version…
- CVE-2025-54802 — Critical (CVSS 9.8): pyLoad is the free and open-source Download Manager written in pure Python. In versions 0.5.0b3.dev89 and below, there…
- CVE-2024-22416 — Critical (CVSS 9.6): pyLoad is a free and open-source Download Manager written in pure Python. The `pyload` API allows any API call to be…
- CVE-2026-35459 — Critical (CVSS 9.1): pyLoad is a free and open-source download manager written in Python. In 0.5.0b3.dev96 and earlier, pyLoad has a…
- CVE-2026-35463 — High (CVSS 8.8): pyLoad is a free and open-source download manager written in Python. In 0.5.0b3.dev96 and earlier, the…
- CVE-2026-42313 — High (CVSS 8.3): pyLoad is a free and open-source download manager written in Python. Prior to 0.5.0b3.dev100, the set_config_value()…
All CVEs affecting Pyload-ng Project Pyload-ng →
Other CWE-346 vulnerabilities
- CVE-2026-42901 — Critical (CVSS 10.0): Origin validation error in Microsoft Entra ID allows an unauthorized attacker to elevate privileges over a network.
- CVE-2026-6508 — Critical (CVSS 9.8): Origin Validation Error vulnerability in TUBITAK BILGEM Software Technologies Research Institute Liderahenk allows…
- CVE-2026-2790 — Critical (CVSS 9.8): Same-origin policy bypass in the Networking: JAR component. This vulnerability was fixed in Firefox 148, Firefox ESR…
- CVE-2022-50925 — Critical (CVSS 9.8): Prowise Reflect version 1.0.9 contains a remote keystroke injection vulnerability that allows attackers to send…
- CVE-2025-30466 — Critical (CVSS 9.8): This issue was addressed through improved state management. This issue is fixed in Safari 18.4, iOS 18.4 and iPadOS…
- CVE-2024-8487 — Critical (CVSS 9.8): A Cross-Origin Resource Sharing (CORS) vulnerability exists in modelscope/agentscope version v0.0.4. The CORS…