pyLoad open redirect vulnerability due to improper validation of the is_safe_url function
Summary
Open redirect vulnerability due to incorrect validation of input values when redirecting users after login.
Details
pyload is validating URLs via the get_redirect_url function when redirecting users at login.
The URL entered in the next variable goes through the is_safe_url function, where a lack of validation can redirect the user to an arbitrary domain.
The documentation in the urllib library shows that improper URLs are recognized as relative paths when using the urlparse function. (https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlparse)
For example, When an unusual URL like https:///example.com is entered, urlparse interprets it as a relative path, but in the actual request it is converted to https://example.com due to url normalization.
PoC
-
In the next variable, insert the URL to which you want to redirect the user.
-
Check that it is possible to bypass url validation and redirect users to an arbitrary url.
Impact
An attacker can use this vulnerability to redirect users to malicious websites, which can be used for phishing and similar attacks.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | pyload-ng | < 0.5.0b3.dev79 | 0.5.0b3.dev79 |
Referencias
- https://github.com/pyload/pyload/security/advisories/GHSA-g3cm-qg2v-2hj5
- https://nvd.nist.gov/vuln/detail/CVE-2024-24808
- https://github.com/pyload/pyload/commit/fe94451dcc2be90b3889e2fd9d07b483c8a6dccd
- https://github.com/pyload/pyload
- https://pypi.org/project/pyload-ng
- https://github.com/advisories/GHSA-g3cm-qg2v-2hj5
- Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Debilidad (CWE)
CWE-601- Plataforma
- Python (PyPI)
- Paquete
pyload-ng- Publicada
- 05.02.2024
- Actualizado
- 11.10.2026 15:17
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-1817 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-g3cm-qg2v-2hj5 - CC BY 4.0
Historial de vulnerabilidades: pyload-ng
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 58
- Primera → última
- 01.2023 10.2026
- Sin corrección
- 24
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 9
- Alta 23
- Media 25
- Baja 1
Divulgaciones por año
- 2023: 9
- 2024: 8
- 2025: 8
- 2026: 33
-
pyLoad open redirect vulnerability due to improper validation of the is_safe_url function esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.