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.