Summary
CVE-2026-111057 is a critical access control bypass in mljar Mercury, a Python framework for sharing Jupyter notebooks as web applications and dashboards. A missing comma in the request blocklist lets unauthenticated remote attackers reach Jupyter Server’s terminal API and execute arbitrary operating-system commands. The vulnerability has a CVSS v3.1 score of 10.0 (Critical).
Technical details
- Root cause: A missing comma in the
BLOCKED_PATTERNSlist (mercury_app/block_handler.py) concatenates the/laband/api/terminalsregular-expression literals into one pattern. As a result, the/api/terminalsendpoint is no longer blocked (CWE-185: Incorrect Regular Expression; CWE-284: Improper Access Control). - Trigger conditions: Network access to the Mercury server only. No authentication, credentials, or user interaction are required.
- Attack vector: Remote, over the network, by sending requests to the exposed
/api/terminalsendpoint of Jupyter Server. - Impact: Full OS-level shell access with the privileges of the Mercury process. This allows data theft, modification or deletion of files, denial of service, and potential pivoting to other networked systems.
Affected software
- mljar Mercury versions 3.0.0 through 3.2.3
Severity
- CVSS v3.1 base score: 10.0 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade Mercury to version 3.2.4 or later, which adds the missing comma so the blocklist patterns are separated correctly.
- No workaround: The vendor advisory lists no workarounds. Until patched, restrict network access to Mercury instances (for example, limit exposure to trusted networks or place them behind an authenticated reverse proxy or VPN), and review hosts running affected versions for unexpected terminal sessions or processes.
How IONIX identifies potentially affected assets
No IONIX detection plugin was supplied for this CVE, so no detection details are provided.

