CVE-2024-47821 json
pyLoad vulnerable to remote code execution by download to /.pyload/scripts using /flashgot API
published 2024-10-25 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-3149 , GHSA-w7hq-f2pj-c53g , PYSEC-2024-302
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.68% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/pyload/pyload/security/advisories/GHSA-w7hq-f2pj-c53g referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 2.3 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N |
| OSV | 3.1 | 2.3 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pyload-ng | <0.5.0b3.dev87 <=0.5.0 |
0.5.0b3.dev87 |
Affected products
- pyload pyload
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/pyload/pyload/commit/48f59567393a19263c8a0285256a7537dc9ce109
web
-
github.com
/pyload/pyload/security/advisories/GHSA-w7hq-f2pj-c53g
web, exploit, vendor-advisory, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2024-47821
advisory
-
github.com
/pyload/pyload
package
-
github.com
/pypa/advisory-database/tree/main/vulns/pyload-ng/PYSEC-2024-302.yaml
web
Sources
- CVE List CVE-2024-47821
- GitHub Advisory GHSA-w7hq-f2pj-c53g
- NVD CVE-2024-47821
- OSV PYSEC-2024-302
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.