Skip to content
CriticalVulnerability

CVE-2026-42557: JupyterLab HTML sanitizer allows commands to run on a single click

Identifier
CVE-2026-42557
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

JupyterLab versions before 4.5.7 allow a notebook with a pre-saved HTML cell output to trigger arbitrary JupyterLab commands, including arbitrary code execution, from a single user click. The HTML sanitizer permits data-commandlinker-command and data-commandlinker-args on button elements, and CommandLinker executes the named command on any click under document.body without checking whether the element came from trusted UI. No code needs to be submitted for execution by the user.

Mitigation

Fixed in 4.5.7.