# CVE-2024-1240: Open Redirection in pyload/pyload

- Severity: Medium 4.6 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-11-15T10:57:07.797Z
- Modified: 2026-06-17T07:03:47.610Z
- Also known as: PYSEC-2024-123
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

An open redirection vulnerability exists in pyload/pyload version 0.5.0. The vulnerability is due to improper handling of the 'next' parameter in the login functionality. An attacker can exploit this vulnerability to redirect users to malicious sites, which can be used for phishing or other malicious activities. The issue is fixed in pyload-ng 0.5.0b3.dev79.

(As written by CVE List.)

## Affected

- pyload pyload/pyload: from unspecified before pyload-ng 0.5.0b3.dev79
- payload payload: before pyload-ng 0.5.0b3.dev79
- pyload pyload: 0.5.0
- pyload-ng (PyPI): before fe94451dcc2be90b3889e2fd9d07b483c8a6dccd; all versions

## Every score

- @huntr_ai: CVSS:3.0 4.6 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L`
- CISA-ADP: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://huntr.com/bounties/eef9513d-ccc3-4030-b574-374c5e7b887e> (exploit, third-party-advisory, web)
- <https://github.com/pyload/pyload/commit/fe94451dcc2be90b3889e2fd9d07b483c8a6dccd> (fix, patch)

## Sources

- CVE List: [CVE-2024-1240](https://www.cve.org/CVERecord?id=CVE-2024-1240), CVE Terms of Use, modified 2024-11-15
- NVD: [CVE-2024-1240](https://nvd.nist.gov/vuln/detail/CVE-2024-1240), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-123](https://osv.dev/vulnerability/PYSEC-2024-123), CC-BY-4.0, modified 2025-10-09

---

Page: https://cve.day/CVE-2024-1240 · Whole record: https://cve.day/CVE-2024-1240.json · Rebuilt by cve.day 2026-11-25T22:58:48.293Z
