PYSEC-2026-1476

Vulnerability from pysec - Published: 2026-07-07 14:34 - Updated: 2026-07-07 17:24
VLAI
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.

Impacted products
Name purl
js2py pkg:pypi/js2py

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "js2py",
        "purl": "pkg:pypi/js2py"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0.74"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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"
      ]
    }
  ],
  "aliases": [
    "CVE-2024-28397",
    "GHSA-h95x-26f3-88hr"
  ],
  "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.",
  "id": "PYSEC-2026-1476",
  "modified": "2026-07-07T17:24:22.342413Z",
  "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"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "js2py allows remote code execution"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…