Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦 npm🐍 PyPI

GHSA-rch3-82jr-f9w9

GHSA-rch3-82jr-f9w9 is a remote code execution vulnerability in @jupyter-notebook/help-extension. O3 Security confirms whether GHSA-rch3-82jr-f9w9 is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Jupyter Notebook Vulnerable to Authentication Token Theft via CommandLinker XSS

Also known asBIT-jupyter-base-notebook-2026-40171BIT-jupyter-notebook-2026-40171BIT-jupyterlab-2026-40171CVE-2026-40171PYSEC-2026-2538PYSEC-2026-2682
Published
Apr 30, 2026
Updated
Jul 13, 2026
Affected
4 pkgs
Patched
4 / 4
Exploits
None indexed

Blast Radius

4 pkgs affected
📦@jupyter-notebook/help-extension📦@jupyterlab/help-extension🐍notebook🐍jupyterlab

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects npm, PyPI packages — download data is not available via public APIs for these ecosystems.

Description

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

Acknowledgments

Reported by Daniel Teixeira - NVIDIA AI Red Team

Affected Packages

4 total 4 fixed
EcosystemPackageVulnerable rangeFix
📦npm@jupyter-notebook/help-extension7.0.0&&< 7.5.67.5.6
📦npm@jupyterlab/help-extensionall versions4.5.7
🐍PyPInotebook7.0.0&&< 7.5.67.5.6
🐍PyPIjupyterlaball versions4.5.7

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @jupyter-notebook/help-extension. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update @jupyter-notebook/help-extension to 7.5.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-rch3-82jr-f9w9 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-rch3-82jr-f9w9 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-rch3-82jr-f9w9. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### 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
O3 Security · Impact-Aware SCA

Is GHSA-rch3-82jr-f9w9 in your dependencies?

O3 detects GHSA-rch3-82jr-f9w9 across npm, PyPI dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.