# CVE-2024-47821: pyLoad vulnerable to remote code execution by download to /.pyload/scripts using /flashgot API

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- 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.68%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-25T22:48:57.950Z
- Modified: 2026-06-17T07:57:48.903Z
- Also known as: GHSA-w7hq-f2pj-c53g, PYSEC-2024-302
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

pyLoad is a free and open-source Download Manager. The folder `/.pyload/scripts` has scripts which are run when certain actions are completed, for e.g. a download is finished. By downloading a executable file to a folder in /scripts and performing the respective action, remote code execution can be achieved in versions prior to 0.5.0b3.dev87. A file can be downloaded to such a folder by changing the download folder to a folder in `/scripts` path and using the `/flashgot` API to download the file. This vulnerability allows an attacker with access to change the settings on a pyload server to execute arbitrary code and completely compromise the system. Version 0.5.0b3.dev87 fixes this issue.

(As written by CVE List.)

## Affected

- pyload pyload: < 0.5.0b3.dev87; before 0.5.0b3.dev87; 0.5.0
- pyload-ng (PyPI): before 0.5.0b3.dev87; up to 0.5.0

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.1 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P`
- NVD: CVSS:3.1 2.3 Low `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 2.3 Low `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/pyload/pyload/security/advisories/GHSA-w7hq-f2pj-c53g> (exploit, evidence, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-47821> (advisory)
- <https://github.com/pyload/pyload/commit/48f59567393a19263c8a0285256a7537dc9ce109> (web)
- <https://github.com/pyload/pyload> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pyload-ng/PYSEC-2024-302.yaml> (web)

## Sources

- CVE List: [CVE-2024-47821](https://www.cve.org/CVERecord?id=CVE-2024-47821), CVE Terms of Use, modified 2024-10-28
- GitHub Advisory Database: [GHSA-w7hq-f2pj-c53g](https://github.com/advisories/GHSA-w7hq-f2pj-c53g), CC-BY-4.0, modified 2026-06-08
- NVD: [CVE-2024-47821](https://nvd.nist.gov/vuln/detail/CVE-2024-47821), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-302](https://osv.dev/vulnerability/PYSEC-2024-302), CC-BY-4.0, modified 2026-05-21

---

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