CriticalVulnerability
CVE-2026-42557: JupyterLab HTML sanitizer allows commands to run on a single click
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-42557
- Published
- Record updated
- 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.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online