{"id":"PYSEC-2026-1476","summary":"js2py allows remote code execution","details":"An issue in the component `js2py.disable_pyimport()` of js2py up to v0.74 allows attackers to execute arbitrary code via a crafted API call.","aliases":["CVE-2024-28397","GHSA-h95x-26f3-88hr"],"modified":"2026-07-07T17:46:46.023026391Z","published":"2026-07-07T14:34:35.127086Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28397"},{"type":"WEB","url":"https://github.com/PiotrDabkowski/Js2Py/pull/323"},{"type":"WEB","url":"https://github.com/Marven11"},{"type":"WEB","url":"https://github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escape"},{"type":"PACKAGE","url":"https://github.com/PiotrDabkowski/Js2Py"},{"type":"PACKAGE","url":"https://pypi.org/project/js2py"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-h95x-26f3-88hr"}],"affected":[{"package":{"name":"js2py","ecosystem":"PyPI","purl":"pkg:pypi/js2py"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.74"}]}],"versions":["0.1","0.2","0.21","0.22","0.23","0.25","0.26","0.27","0.28","0.29","0.30","0.31","0.32","0.33","0.35","0.36","0.37","0.39","0.40","0.41","0.42","0.43","0.44","0.47","0.48","0.49","0.50","0.51","0.52","0.53","0.54","0.55","0.56","0.57","0.58","0.59","0.60","0.61","0.62","0.63","0.66","0.67","0.68","0.69","0.70","0.71","0.72","0.74"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/js2py/PYSEC-2026-1476.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}