Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    BREW-JUPYTERLAB-CVE-2026-40171 (GHSA-RCH3-82JR-F9W9)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:01 – Updated: 2026-11-15 10:00 – Source website
    VLAI
    Summary
    Jupyter Notebook Vulnerable to Authentication Token Theft via CommandLinker XSS
    Details

    Impact

    A stored Cross-Site Scripting (XSS) vulnerability in Jupyter Notebook allows attackers to steal authentication tokens from users who open malicious notebook files and interact with elements that the attacker can make look indistinguishable from legitimate controls (single click interaction).

    The vulnerability enables complete account takeover through the Jupyter REST API, allowing the attacker to: 1. Read all files 2. Modify/create files 3. Access running kernels and execute arbitrary code 4. Create terminals for shell access

    Patches

    Jupyter Notebook 7.5.6 and JupyterLab 4.5.7 include patches for this vulnerability.

    Workarounds

    The help extension can be disabled via CLI:

    jupyter labextension disable @jupyter-notebook/help-extension
    jupyter labextension disable @jupyterlab/help-extension
    

    Hardening

    The patched versions include a toggle to disable the command linker functionality altogether, for example via overrides.json:

    {
      "@jupyterlab/apputils-extension:sanitizer": {
        "allowCommandLinker": false
      }
    }
    

    Resources

    • https://jupyterlab.readthedocs.io/en/latest/user/commands.html#commands-in-markdown-output-and-files

    Acknowledgments

    Reported by Daniel Teixeira - NVIDIA AI Red Team


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "upstream_fixed_in": "4.5.7"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "jupyterlab",
            "purl": "pkg:brew/jupyterlab"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.2.0"
                },
                {
                  "fixed": "4.5.7_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/jupyterlab@4.6.6",
            "name": "jupyterlab",
            "strategy": "registry",
            "subject_version": "4.6.6"
          },
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/notebook@7.6.5",
            "name": "notebook",
            "resource": "notebook",
            "strategy": "registry",
            "subject_version": "7.6.5"
          },
          {
            "ecosystem": "Debian",
            "key": "Debian/jupyterlab",
            "name": "jupyterlab",
            "strategy": "distro"
          },
          {
            "ecosystem": "PyPI",
            "key": "upstream:pkg:pypi/jupyterlab@4.6.6",
            "name": "jupyterlab",
            "strategy": "distro",
            "subject_version": "4.6.6"
          }
        ]
      },
      "details": "### Impact\n\nA stored Cross-Site Scripting (XSS) vulnerability in Jupyter Notebook allows attackers to steal authentication tokens from users who open malicious notebook files and interact with elements that the attacker can make look indistinguishable from legitimate controls (single click interaction).\n\nThe vulnerability enables complete account takeover through the Jupyter REST API, allowing the attacker to:\n1. Read all files\n2. Modify/create files\n3. Access running kernels and execute arbitrary code\n4. Create terminals for shell access\n\n### Patches\n\nJupyter Notebook 7.5.6 and JupyterLab 4.5.7 include patches for this vulnerability.\n\n### Workarounds\n\nThe help extension can be disabled via CLI:\n\n```\njupyter labextension disable @jupyter-notebook/help-extension\njupyter labextension disable @jupyterlab/help-extension\n```\n\n### Hardening\n\nThe patched versions include a toggle to disable the command linker functionality altogether, for example via `overrides.json`:\n\n```json\n{\n  \"@jupyterlab/apputils-extension:sanitizer\": {\n    \"allowCommandLinker\": false\n  }\n}\n```\n\n### Resources\n\n- https://jupyterlab.readthedocs.io/en/latest/user/commands.html#commands-in-markdown-output-and-files\n\n### Acknowledgments\n\nReported by Daniel Teixeira - NVIDIA AI Red Team",
      "id": "BREW-jupyterlab-CVE-2026-40171",
      "modified": "2026-11-15T10:00:47Z",
      "published": "2026-08-13T17:01:18Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/jupyter/notebook/security/advisories/GHSA-rch3-82jr-f9w9"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40171"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/jupyter/notebook"
        },
        {
          "type": "WEB",
          "url": "https://jupyterlab.readthedocs.io/en/latest/user/commands.html#commands-in-markdown-output-and-files"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Jupyter Notebook Vulnerable to Authentication Token Theft via CommandLinker XSS",
      "upstream": [
        "GHSA-rch3-82jr-f9w9",
        "BIT-jupyter-base-notebook-2026-40171",
        "BIT-jupyter-notebook-2026-40171",
        "BIT-jupyterlab-2026-40171",
        "CVE-2026-40171",
        "PYSEC-2026-2538",
        "PYSEC-2026-2682"
      ]
    }

    CLEANSTART-2026-GG76429 (GHSA-RCH3-82JR-F9W9)

    Vulnerability from cleanstart – Published: 2026-07-30 07:10 – Updated: 2026-09-18 11:59 – Source website
    Withdrawn 2026-09-18 VLAI
    Summary
    Security fixes in tensorflow-gpu-jupyter 2.21.0-r5
    Details

    Package tensorflow-gpu-jupyter version 2.21.0-r5 fixes 28 vulnerabilities: ghsa-rch3-82jr-f9w9, ghsa-mqcg-5x36-vfcg, ghsa-37w4-hwhx-4rc4, ghsa-mf9v-mfxr-j63j, ghsa-5mrq-x3x5-8v8f...

    References

    {
      "affected": [
        {
          "package": {
            "ecosystem": "CleanStart",
            "name": "tensorflow-gpu-jupyter"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.21.0-r5"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "2.21.0-r5"
          ]
        }
      ],
      "credits": [],
      "database_specific": {},
      "details": "Package tensorflow-gpu-jupyter version 2.21.0-r5 fixes 28 vulnerabilities: ghsa-rch3-82jr-f9w9, ghsa-mqcg-5x36-vfcg, ghsa-37w4-hwhx-4rc4, ghsa-mf9v-mfxr-j63j, ghsa-5mrq-x3x5-8v8f...",
      "id": "CLEANSTART-2026-GG76429",
      "modified": "2026-09-18T11:59:01.768079Z",
      "published": "2026-07-30T07:10:53Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://tensorflow.org"
        }
      ],
      "related": [],
      "schema_version": "1.7.3",
      "summary": "Security fixes in tensorflow-gpu-jupyter 2.21.0-r5",
      "upstream": [
        "ghsa-rch3-82jr-f9w9",
        "ghsa-mqcg-5x36-vfcg",
        "ghsa-37w4-hwhx-4rc4",
        "ghsa-mf9v-mfxr-j63j",
        "ghsa-5mrq-x3x5-8v8f",
        "ghsa-5789-5fc7-67v3",
        "ghsa-qccp-gfcp-xxvc",
        "ghsa-24qx-w28j-9m6p",
        "ghsa-8mp2-v27r-99xp",
        "ghsa-qh7q-6qm3-653w",
        "ghsa-65pc-fj4g-8rjx",
        "ghsa-6269-cqxg-mhhv",
        "ghsa-ccfx-mfmx-2fx9",
        "ghsa-v87v-83h2-53w7",
        "CVE-2026-45409",
        "CVE-2026-35397",
        "CVE-2026-40110",
        "CVE-2026-40934",
        "CVE-2025-61669",
        "CVE-2026-40171",
        "CVE-2026-42266",
        "CVE-2026-42557",
        "CVE-2026-33079",
        "CVE-2026-44897",
        "CVE-2026-44898",
        "CVE-2026-44899",
        "CVE-2026-44431",
        "CVE-2026-44432"
      ],
      "withdrawn": "2026-09-18T11:59:01.768079Z"
    }

    CLEANSTART-2026-SO25555 (GHSA-RCH3-82JR-F9W9)

    Vulnerability from cleanstart – Published: 2026-09-18 09:43 – Updated: 2026-10-15 12:00 – Source website
    VLAI
    Summary
    Security fix for GHSA-rch3-82jr-f9w9 applied in: tensorflow-gpu-jupyter 2.21.0-r5
    Details

    Security vulnerability affects the tensorflow-gpu-jupyter package. This issue is resolved in later releases. See references for vulnerability details.


    {
      "affected": [
        {
          "package": {
            "ecosystem": "CleanStart",
            "name": "tensorflow-gpu-jupyter",
            "purl": "pkg:apk/cleanstart/tensorflow-gpu-jupyter"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.21.0-r5"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "credits": [],
      "database_specific": {},
      "details": "Security vulnerability affects the tensorflow-gpu-jupyter package. This issue is resolved in later releases. See references for vulnerability details.",
      "id": "CLEANSTART-2026-SO25555",
      "modified": "2026-10-15T12:00:00Z",
      "published": "2026-09-18T09:43:26.248638Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://github.com/cleanstart-dev/cleanstart-security-advisories/tree/main/advisories/2026/CLEANSTART-2026-SO25555.json"
        },
        {
          "type": "WEB",
          "url": "https://osv.dev/vulnerability/GHSA-rch3-82jr-f9w9"
        }
      ],
      "related": [],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Security fix for GHSA-rch3-82jr-f9w9 applied in: tensorflow-gpu-jupyter 2.21.0-r5",
      "upstream": [
        "GHSA-rch3-82jr-f9w9"
      ]
    }

    CVE-2026-40171 (GCVE-0-2026-40171)

    Vulnerability from cvelistv5 – Published: 2026-05-06 19:36 – Updated: 2026-05-08 03:55
    VLAI
    Title
    Jupyter Notebook and JupyterLab token theft via stored XSS in help command linker
    Summary
    In Jupyter Notebook versions 7.0.0 through 7.5.5, JupyterLab versions 4.5.6 and earlier, and the corresponding @jupyter-notebook/help-extension and @jupyterlab/help-extension packages before 7.5.6 and 4.5.7, a stored cross-site scripting issue in the help command linker can be chained with attacker-controlled notebook content to steal authentication tokens with a single click. An attacker can craft a malicious notebook file containing elements that appear indistinguishable from legitimate controls and trigger execution when a user interacts with them. Successful exploitation allows theft of the user's authentication token and complete takeover of the Jupyter session through the REST API, including reading files, creating or modifying files, accessing kernels to execute arbitrary code, and creating terminals for shell access. This issue has been fixed in Notebook 7.5.6, JupyterLab 4.5.7, @jupyter-notebook/help-extension 7.5.6, and @jupyterlab/help-extension 4.5.7. As a workaround, disable the affected help extensions or set allowCommandLinker to false in the sanitizer configuration.
    SSVC
    Exploitation: none Automatable: no Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-05-07 00:00 UTC
    CWE
    • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
    Assigner
    GitHub_M CNA
    References
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-40171",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-05-07T00:00:00+00:00",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-05-08T03:55:41.465Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "notebook",
              "vendor": "jupyter",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003e=7.0.0, \u003c= 7.5.5"
                }
              ]
            },
            {
              "product": "help-extension",
              "vendor": "jupyterlab",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c=4.5.6"
                }
              ]
            },
            {
              "product": "jupyterlab",
              "vendor": "jupyterlab",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c= 4.5.6"
                }
              ]
            },
            {
              "product": "help-extension",
              "vendor": "jupyter-notebook",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003e=7.0.0,\u003c= 7.5.5"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "In Jupyter Notebook versions 7.0.0 through 7.5.5, JupyterLab versions 4.5.6 and earlier, and the corresponding @jupyter-notebook/help-extension and @jupyterlab/help-extension packages before 7.5.6 and 4.5.7, a stored cross-site scripting issue in the help command linker can be chained with attacker-controlled notebook content to steal authentication tokens with a single click.\n\nAn attacker can craft a malicious notebook file containing elements that appear indistinguishable from legitimate controls and trigger execution when a user interacts with them. Successful exploitation allows theft of the user\u0027s authentication token and complete takeover of the Jupyter session through the REST API, including reading files, creating or modifying files, accessing kernels to execute arbitrary code, and creating terminals for shell access. This issue has been fixed in Notebook 7.5.6, JupyterLab 4.5.7, @jupyter-notebook/help-extension 7.5.6, and @jupyterlab/help-extension 4.5.7. As a workaround, disable the affected help extensions or set allowCommandLinker to false in the sanitizer configuration."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.4,
                "baseSeverity": "HIGH",
                "privilegesRequired": "HIGH",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "ACTIVE",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "HIGH"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-79",
                  "description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-05-06T19:36:32.072Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/jupyter/notebook/security/advisories/GHSA-rch3-82jr-f9w9",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/jupyter/notebook/security/advisories/GHSA-rch3-82jr-f9w9"
            }
          ],
          "source": {
            "advisory": "GHSA-rch3-82jr-f9w9",
            "discovery": "UNKNOWN"
          },
          "title": "Jupyter Notebook and JupyterLab token theft via stored XSS in help command linker"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-40171",
        "datePublished": "2026-05-06T19:36:32.072Z",
        "dateReserved": "2026-04-09T19:31:56.015Z",
        "dateUpdated": "2026-05-08T03:55:41.465Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }