Vulnerability PYSEC-2026-2682

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
2 months ago
July 13, 2026 at 03:02 PM UTC
Jupyter Notebook Vulnerable to Authentication Token Theft via CommandLinker XSS
7.0.0 - 7.5.5
7.0.0 - 7.5.5

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

Acknowledgments

Reported by Daniel Teixeira - NVIDIA AI Red Team

Impacted packages

Timeline

Published
2 months ago
July 13, 2026 at 03:02 PM UTC
Fixed (7.5.6)
5 months ago
April 30, 2026 at 11:46 AM UTC
Last Modified
2 months ago
July 13, 2026 at 04:42 PM UTC