CVE-2024-39205: pyload-ng vulnerable to RCE with js2py sandbox escape
Affects pyload-ngSource GCVE Database
Mentioned vulnerabilities
Public exploit available (Metasploit) · CVSS 9.8 Critical.
Data as of 16 Nov 2026, 16:36 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIpyload-ng | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should upgrade pyload-ng to a version running under Python 3.12 or above, as pyload-ng does not use js2py in those versions and is not vulnerable. Until an official fix is released, restricting network access to the /flash/addcrypted2 endpoint and monitoring for suspicious requests may reduce exposure. Check vendor advisories or official pyload-ng channels for updates on patches or mitigations.
Description
pyload-ng versions up to 0.5.0b3.dev85 running under Python 3.11 or below are vulnerable to remote code execution (RCE) due to a sandbox escape vulnerability in the js2py library (CVE-2024-28397). The vulnerability affects the /flash/addcrypted2 API endpoint, which is intended to accept only localhost connections but can be bypassed via HTTP headers, allowing attackers to execute arbitrary shell commands on the server. This vulnerability does not affect pyload-ng running under Python 3.12 or above.
References
- github.com/pyload/pyload/security/advisories/GHSA-r9pp-r4xf-597r (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2024-39205 (opens in a new tab)
- github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escape (opens in a new tab)
- github.com/advisories/GHSA-h95x-26f3-88hr (opens in a new tab)
- github.com/pyload/pyload (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/pyload-ng/PYSEC-2026-499.yaml (opens in a new tab)
- pypi.org/project/pyload-ng (opens in a new tab)