CVE-2024-28397

HIGHNVD 5.38.8
EchelonGraph scoreMEDIUM confidence

“▲” beside the score: it is higher than NVD's CVSS score.

Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2024-06-20. NVD baseline CVSS 5.3; sources differ by 3.5.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
Trending — 3 sources updated this weekWeaponized
8.8EG
EchelonGraph verdictPlan mitigationRemediate within your standard update timelines (the SSVC decision on this page).
  • Public exploit code is available (Metasploit, other public proof-of-concept code)
CISA-KEV: Not listedEPSS PROB: 4.5%CVSS: 5.3Exploit: Metasploit · other public PoCExposed services: Not assessed

No fix is confirmed yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for the fix.

The CVE record's description, written by its CNA (MITRE Corporation), states the affected versions: "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." No release containing a fix is confirmed on record.

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.

CVSS v3
5.3
EG Score
8.8HIGHmedium confidence
EG Risk
66
EG Risk 66/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity88% × 45%
Impact severity (EG Severity): CVSS 8.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation65% × 40%
EchelonGraph's fixed weight for EG-KEV Tier 2 (Weaponized): a constant, not a probability.
Automatability0% × 15%
CISA's SSVC Automatable value: no (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).
Exploitation public PoC (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: No fix is confirmed yet. Restrict network exposure of the affected system within your standard update timelines, and watch for a fix.
EPSS PROB
4.5%
EPSS %ILE
91st
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (8.8): severity, escalated by confirmed exploitation. This CVE's 8.8 is its impact severity (EG Severity), not escalated.

EG Severity
8.8 HIGHCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
4.5% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-10-20). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at low or medium mission impact; Track* at high (mission-essential systems).CISA BOD 26-04: 60 days if the affected system is publicly exposed; Fix on system upgrade if it is not.Each input and its source: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Track* at high (mission-essential systems).

No fix is confirmed yet. Restrict network exposure of the affected system within your standard update timelines, and watch for a fix.

Exploitation public PoC (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)60 days if the affected system is publicly exposed; Fix on system upgrade if it is not.

In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

June 20, 2024

Last Modified

April 15, 2026

Patch Availability(1)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
pipjs2py—ghsa

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(1 across 1 ecosystem)
PyPI(1)
PackageVulnerable rangeFix by version rangeDependents
js2py0.1 ... 0.74 (48 versions)
  • every version through 0.74: no fix on record
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 10× in last 7d / 36× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.

Showing the most recent 92 of 204 refreshes on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 8 repeat rows among the latest 100 are merged into the row they repeat. The 112 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-10-21 16:29 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  2. 2026-10-20 20:13 UTCEG score recompute
  3. 2026-10-20 20:13 UTCGHSA enrichmentGHSA-h95x-26f3-88hr · GitHub severity HIGH · GitHub CVSS 8.8
  4. 2026-10-20 16:30 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  5. 2026-10-19 16:29 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  6. 2026-10-18 16:29 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  7. 2026-10-18 07:20 UTCEG score recompute
  8. 2026-10-17 16:30 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  9. 2026-10-16 16:36 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  10. 2026-10-15 16:30 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  11. 2026-10-14 16:30 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  12. 2026-10-13 16:30 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  13. 2026-10-12 17:58 UTCEG score recompute
  14. 2026-10-12 16:31 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  15. 2026-10-11 21:22 UTCEG score recompute
  16. 2026-10-11 16:16 UTCEG score recompute
  17. 2026-10-11 13:46 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  18. 2026-10-10 19:58 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  19. 2026-10-09 20:05 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  20. 2026-10-08 17:07 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  21. 2026-10-07 23:46 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  22. 2026-10-06 15:15 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  23. 2026-10-05 17:41 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  24. 2026-10-04 23:20 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  25. 2026-10-03 14:24 UTCEPSS rescoreEPSS 4.5% · 91st percentile
Show 67 more
  1. 2026-10-01 19:48 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  2. 2026-09-30 17:01 UTCEG score recompute
  3. 2026-09-30 15:01 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  4. 2026-09-29 15:17 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  5. 2026-09-28 13:49 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  6. 2026-09-27 13:43 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  7. 2026-09-26 15:57 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  8. 2026-09-26 00:23 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  9. 2026-09-24 14:01 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  10. 2026-09-23 13:46 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  11. 2026-09-22 14:46 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  12. 2026-09-20 20:14 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  13. 2026-09-19 15:40 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  14. 2026-09-18 19:26 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  15. 2026-09-16 14:06 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  16. 2026-09-15 03:08 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  17. 2026-09-12 14:59 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  18. 2026-09-11 14:51 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  19. 2026-09-11 09:35 UTCEPSS rescoreEPSS 4.5% · 91st percentile
  20. 2026-09-08 21:58 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  21. 2026-09-07 15:59 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  22. 2026-09-06 13:46 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  23. 2026-09-05 15:26 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  24. 2026-09-04 13:58 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  25. 2026-09-04 05:05 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  26. 2026-09-02 14:10 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  27. 2026-09-01 13:52 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  28. 2026-08-30 19:15 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  29. 2026-08-30 01:20 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  30. 2026-08-28 21:39 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  31. 2026-08-27 14:23 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  32. 2026-08-26 14:44 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  33. 2026-08-25 13:47 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  34. 2026-08-24 14:15 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  35. 2026-08-23 00:17 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  36. 2026-08-21 23:47 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  37. 2026-08-20 22:53 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  38. 2026-08-19 17:02 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  39. 2026-08-18 13:46 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  40. 2026-08-17 13:45 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  41. 2026-08-16 14:54 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  42. 2026-08-16 02:13 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  43. 2026-08-15 01:28 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  44. 2026-08-13 21:59 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  45. 2026-08-12 13:49 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  46. 2026-08-11 13:40 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  47. 2026-08-10 23:58 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  48. 2026-08-09 13:45 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  49. 2026-08-08 16:35 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  50. 2026-08-07 16:25 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  51. 2026-08-06 13:45 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  52. 2026-08-05 19:16 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  53. 2026-08-04 15:08 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  54. 2026-08-04 10:36 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  55. 2026-08-03 10:34 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  56. 2026-08-02 02:25 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  57. 2026-08-01 04:14 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  58. 2026-07-30 16:26 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  59. 2026-07-30 01:29 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  60. 2026-07-28 15:34 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  61. 2026-07-27 14:11 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  62. 2026-07-25 14:16 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  63. 2026-07-24 14:16 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  64. 2026-07-23 14:17 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  65. 2026-07-23 02:35 UTCEG score recompute
  66. 2026-07-22 14:07 UTCEPSS rescoreEPSS 4.5% · 90th percentile
  67. 2026-07-21 15:23 UTCEPSS rescoreEPSS 4.5% · 90th percentile

Publicly available exploits

(8 references)

Public exploit code is referenced for this CVE (1 Metasploit module, 1 Exploit-DB entry, 5 GitHub PoCs), as is 1 Nuclei detection template. A detection template checks whether a system is affected; it is not necessarily exploit code. No fix is confirmed yet, so defenders should restrict or isolate affected systems accordingly until one is published.

  • Metasploitexploit/linux/http/pyload_js2py_cve_2024_39205✓ verified
    Published Nov 15, 2024

    Pyload RCE (CVE-2024-39205) with js2py sandbox escape (CVE-2024-28397)

    Open source ↗
  • Exploit-DBEDB-52532
    Published Apr 30, 2026

    Js2Py 0.74 - RCE

    Open source ↗
  • GitHub PoCxeloxa/CVE-2024-28397-Js2Py-RCE-Exploit
    Published Feb 3, 2026

    Professional exploit for CVE-2024-28397: Js2Py Sandbox Escape leading to Remote Code Execution (RCE). Includes modular payload generation.

    Open source ↗
  • GitHub PoCL1337Xi/CVE-2024-28397-Exploit-Automation
    Published Dec 6, 2025

    A Python automation script for exploiting the **js2py Sandbox Escape** vulnerability (CVE-2024-28397). This tool automates the payload generation and delivery process to achieve Remote Code Execution (RCE) on vulnerable instances.

    Open source ↗
  • GitHub PoCnaclapor/CVE-2024-28397
    Published Sep 9, 2025

    This repository contains a python exploit code for CVE-2024-28397 intended for use on the "CodePartTwo" machine on Hack The Box (HTB).

    Open source ↗
  • GitHub PoCGhostOverflow/CVE-2024-28397-command-execution-poc
    Published Aug 17, 2025

    This vulnerability arises from incomplete sandboxing in js2py, where crafted JavaScript can traverse Python’s internal object model and access dangerous classes like subprocess.Popen, leading to arbitrary command execution.

    Open source ↗
  • Nucleihttp/cves/2024/CVE-2024-28397.yaml
    Published Sep 19, 2024

    pyload-ng js2py - Remote Code Execution

    Open source ↗
  • GitHub PoCMarven11/CVE-2024-28397-js2py-Sandbox-Escape
    Published Jun 19, 2024

    CVE-2024-28397: js2py sandbox escape, bypass pyimport restriction.

    Open source ↗

Frequently asked(5)

What is CVE-2024-28397?
CVE-2024-28397 is a high-severity vulnerability; its CVE record was published on June 20, 2024. 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.
When was the CVE record for CVE-2024-28397 published?
The CVE record for CVE-2024-28397 was published on June 20, 2024. That is the record's publication date; the vulnerability itself may have been made public earlier. EchelonGraph's copy of the record carries a last-modified date of April 15, 2026; the record at its source may have been updated since.
Is CVE-2024-28397 actively exploited?
CVE-2024-28397 is not currently on CISA's Known Exploited Vulnerabilities catalog. EchelonGraph's EG-KEV model places it in Tier 2 (Weaponized), which is not evidence of exploitation: a Metasploit module exists for it. EchelonGraph does not test whether exploit code works. FIRST EPSS estimates a 4.5% probability of exploitation in the next 30 days (91st percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2024-28397?
CVE-2024-28397 has a CVSS v3 base score of 5.3 (NVD). EchelonGraph synthesises NVD + CISA KEV + FIRST EPSS + GHSA into a combined EG score of 8.8 (HIGH).
How do I remediate CVE-2024-28397?
No fix for CVE-2024-28397 is confirmed yet. Until one is published, restrict network exposure of the affected system — for example, keep it off the internet or limit it to trusted networks — and watch for a fix. The CVE record's description, written by its CNA (MITRE Corporation), states the affected versions: "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." No release containing a fix is confirmed on record.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-28397

Explore →

Is Your Infrastructure Affected by CVE-2024-28397?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.