CVE-2026-40594: pyLoad is a free and open-source download manager written in Python
CVE-2026-40594 is a medium-severity flaw (CVSS 4.8) affecting pyload-ng. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.8 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 94%) |
| CISA exploited list | No |
| Weakness | CWE-346 |
| Published | 2026-04-21 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40594?
pyload-ng: upgrade to 0.5.0b3.dev69. Exact commands for each OS are on this page.
Is CVE-2026-40594 being exploited?
CVE-2026-40594 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40594 affect?
CVE-2026-40594 affects pyload-ng. Severity is medium (CVSS 4.8). 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 w
How urgent is CVE-2026-40594?
Priority 28/100. Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Python vulnerabilities · Flask vulnerabilities
Related CVEs
- CVE-2026-42315 HIGH 8.1 UPGRADE pyLoad is a free and open-source download manager written in Python
- CVE-2026-42314 MEDIUM 6.5 UPGRADE pyLoad is a free and open-source download manager written in Python
- CVE-2026-42313 HIGH 8.3 UPGRADE pyLoad is a free and open-source download manager written in Python
- CVE-2026-42312 MEDIUM 6.8 UPGRADE pyLoad is a free and open-source download manager written in Python