Time-of-check Time-of-use (TOCTOU) Race Condition Affecting notebook package, versions [7.5.6,7.6.3)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Time-of-check Time-of-use (TOCTOU) Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-NOTEBOOK-20883329
  • published13 Oct 2026
  • disclosed13 Oct 2026
  • creditRex Liu

Introduced: 13 Oct 2026

NewCVE-2026-102832  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade notebook to version 7.6.3 or higher.

Overview

notebook is a web application that allows you to create and share documents that contain live code, equations, visualizations, and explanatory text.

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition via the CommandLinker trust mechanism, where a command-link click triggers a trust dialog and, upon user approval, executes the associated trust command without verifying that the DOM boundary being trusted corresponds to the widget that initiated the trust request. An attacker who can embed malicious content in a notebook or Markdown document can cause the trust action to be applied to an unintended widget, effectively bypassing the trust boundary and elevating the privilege of untrusted content.

CVSS Base Scores

version 4.0
version 3.1