{
  "id": "CVE-2026-42557",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-42557",
  "published_at": "2026-05-13T15:06:14.222Z",
  "title": "jupyterlab: Command linker attributes in HTML enable one-click command execution from untrusted content",
  "vendor": "jupyterlab",
  "product": "jupyterlab",
  "cvss": {
    "score": 9.6,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. Prior to 4.5.7, JupyterLab's HTML sanitizer allowlists data-commandlinker-command and data-commandlinker-args on button elements, while CommandLinker listens for all click events on document.body and executes the named command without checking whether the element came from trusted JupyterLab UI. A notebook with a pre-saved HTML cell output containing a deceptive button can trigger arbitrary JupyterLab commands - including arbitrary code execution - on a single user click, without any code being submitted for execution by the user. This vulnerability is fixed in 4.5.7.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.6,
    "nvd": 9.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "jupyterlab",
        "product": "jupyterlab",
        "ranges": [
          "\u003c 4.5.7"
        ],
        "fixed_in": [
          "4.5.7"
        ]
      },
      {
        "vendor": "jupyter",
        "product": "notebook",
        "ranges": [
          "\u003e= 7.0.0, \u003c 7.5.6"
        ],
        "fixed_in": [
          "7.5.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade jupyterlab to 4.5.7 or later.",
      "Upgrade notebook to 7.5.6 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-mqcg-5x36-vfcg"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
