Summary
CVE-2026-111058 is a critical missing-authorization vulnerability (CWE-862) in mljar Mercury, a Python framework for sharing Jupyter notebooks as web applications and dashboards. Unauthenticated network clients can create Jupyter kernels and execute arbitrary Python code on the host. The CVSS v3.1 base score is 9.8 (Critical).
Technical details
- Root cause: Mercury runs JupyterLab with anonymous access enabled by default and relies on a blocklist to restrict dangerous endpoints.
/api/kernelswas left off the blocklist because Mercury needs kernel functionality. The kernel websocket handler does not filterexecute_requestmessages. - Trigger conditions: The attacker needs network access to a vulnerable Mercury instance. No authentication or user interaction is required.
- Attack vector: Per the vendor advisory, an unauthenticated client sends
POST /api/kernels {"name":"python3"}, which returns a kernel ID. The client then opens the websocket/api/kernels/<id>/channelsand sends anexecute_requestcontaining arbitrary code. - Impact: Unauthenticated remote execution of arbitrary Python code, with high impact on confidentiality, integrity and availability.
Affected software
- mljar Mercury versions prior to 3.2.6 (advisory lists ≤ 3.2.5)
Severity
- CVSS v3.1 base score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade Mercury to version 3.2.6 or later.
- If you cannot patch immediately: The vendor advisory does not list formal workarounds. It suggests that deployments should require real per-request authentication (a token or password), and that anonymous websocket clients should not be able to issue
execute_requestoutside Mercury’s controlled execution flow. As a precaution, restrict network access to Mercury instances, for example by removing direct internet exposure or placing them behind an authenticating proxy or VPN. - Review exposed Mercury instances for unexpected kernel creation or unusual process activity.

