CVE-2026-40594
Last modified
CVE-2026-40594 is a medium-severity vulnerability rated 4.8/10 on the CVSS scale. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pyload-Ng Project | Pyload-Ng | < 0.5.0b3.dev69 |
References
- https://github.com/pyload/pyload/security/advisories/GHSA-mp82-fmj6-f22vExploit, Mitigation, Vendor Advisory
- https://github.com/pyload/pyload/security/advisories/GHSA-mp82-fmj6-f22vExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-40594?
How severe is CVE-2026-40594?
How do I fix CVE-2026-40594?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40589FreeScout is a free self-hosted help desk and shared mailbox…7.6
- CVE-2026-4059The ShopLentor plugin for WordPress is vulnerable to Stored …6.4
- CVE-2026-40590FreeScout is a free self-hosted help desk and shared mailbox…4.3
- CVE-2026-40591FreeScout is a free self-hosted help desk and shared mailbox…7.1
- CVE-2026-40592FreeScout is a free self-hosted help desk and shared mailbox…5.9
- CVE-2026-40593ChurchCRM is an open-source church management system. In ver…4.8
- CVE-2026-40595Chartbrew is an open-source web application that can connect…7.5
- CVE-2026-40596Mantis Bug Tracker (MantisBT) is an open source issue tracke…7.2
- CVE-2026-40597Mantis Bug Tracker (MantisBT) is an open source issue tracke…7.6
- CVE-2026-40598Mantis Bug Tracker (MantisBT) is an open source issue tracke…6.9
- CVE-2026-40599ClearanceKit intercepts file-system access events on macOS a…7.1
- CVE-2026-4060The Geo Mashup plugin for WordPress is vulnerable to Time-Ba…7.5
Are you affected by CVE-2026-40594?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
