# pyload-ng vulnerable to RCE with js2py sandbox escape

Advisory record · `GHSA-r9pp-r4xf-597r`

- **Identifiers:** `GHSA-r9pp-r4xf-597r` · `CVE-2024-39205` · `PYSEC-2026-499`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+, CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-94](https://cwe.mitre.org/data/definitions/94.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 9 Sept 2024
- **Updated:** 16 Nov 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 9 Sept 2024, 18:17 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.
- CVSS score 9.8 (7.0 or more) and EPSS 0.17 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `pyload-ng` (PyPI): affected `<=0.5.0b3.dev85`; no fixed version yet

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> pyload-ng versions up to and including 0.5.0b3.dev85 are vulnerable when run under Python 3.11 or earlier. A remote attacker can bypass the localhost-only restriction on an API endpoint and execute arbitrary shell commands on the server through a js2py sandbox escape, without authentication. No fixed version is listed.

Written 10 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 9.8 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.17, the 97th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 9 Sept 2024, 18:17 UTC: [Confirmed by GitHub Advisory Database](https://github.com/advisories/GHSA-r9pp-r4xf-597r)
- 16 Nov 2026, 16:15 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-r9pp-r4xf-597r)

## Sources

- [GitHub Advisory Database: GHSA-r9pp-r4xf-597r](https://github.com/advisories/GHSA-r9pp-r4xf-597r)
- [OSV: GHSA-r9pp-r4xf-597r](https://osv.dev/vulnerability/GHSA-r9pp-r4xf-597r)
- <https://github.com/pyload/pyload/security/advisories/GHSA-r9pp-r4xf-597r>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-39205>
- <https://github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escape>
- <https://github.com/advisories/GHSA-h95x-26f3-88hr>
- <https://github.com/pyload/pyload>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pyload-ng/PYSEC-2026-499.yaml>
- <https://pypi.org/project/pyload-ng>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-r9pp-r4xf-597r>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-r9pp-r4xf-597r/>. Everything for agents: <https://agentprime.io/llms.txt>.
