{"id":"CVE-2026-40594","sourceIdentifier":"security-advisories@github.com","published":"2026-04-21T18:16:51.553","lastModified":"2026-11-11T23:10:00.263","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"pyLoad es un gestor de descargas gratuito y de código abierto escrito en Python. Antes de la versión 0.5.0b3.dev98, el gestor before_request set_session_cookie_secure en src/pyload/webui/app/__init__.py lee la cabecera X-Forwarded-Proto de cualquier solicitud HTTP sin validar que la solicitud se origina de un proxy de confianza, luego muta la configuración global de Flask SESSION_COOKIE_SECURE en cada solicitud. Debido a que pyLoad utiliza el servidor WSGI Cheroot multiproceso (request_queue_size=512), esto crea una condición de carrera donde la solicitud de un atacante puede influir en la bandera Secure de las cookies de sesión de otros usuarios - ya sea degradando la seguridad de las cookies detrás de un proxy TLS o causando una denegación de servicio de sesión en implementaciones HTTP simples. Esta vulnerabilidad se corrige en la versión 0.5.0b3.dev98."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"pyload","product":"pyload","versions":[{"version":"< 0.5.0b3.dev98","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","baseScore":4.8,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"LOW"},"exploitabilityScore":2.2,"impactScore":2.5}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-21T18:01:27.681393Z","id":"CVE-2026-40594","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-346"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:pyload-ng_project:pyload-ng:*:*:*:*:*:python:*:*","versionEndExcluding":"0.5.0b3.dev69","matchCriteriaId":"D149F810-22BB-440C-8672-58947D5E4CAB"}]}]}],"references":[{"url":"https://github.com/pyload/pyload/security/advisories/GHSA-mp82-fmj6-f22v","source":"security-advisories@github.com","tags":["Exploit","Mitigation","Vendor Advisory"]},{"url":"https://github.com/pyload/pyload/security/advisories/GHSA-mp82-fmj6-f22v","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Mitigation","Vendor Advisory"]}]}