Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
10.0

CVE-2026-111057: Mercury allows unauthenticated remote command execution

CVE-2026-111057 · published 1 month ago
Summary

Versions of Mercury from 3.0.0 through 3.2.3 let anyone send a request to the terminals API and reach the underlying Jupyter server. This gives an attacker a shell they can use to run commands and view data the Mercury process can access. Upgrade to version 3.2.4 or later to close the gap.

What to do
  • Update mercury to version 3.2.4.
Affected software
Ecosystem VendorProductAffected versions
– mljar mercury >= 3.0.0, < 3.2.4
pip – mercury >= 3.0.0, <= 3.2.3
Fix: upgrade to 3.2.4
PyPI – mercury >= 3.0.0, < 3.2.4
Fix: upgrade to 3.2.4
Original advisory text
Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass
Mercury is a Python framework for sharing Jupyter notebooks as web applications and dashboards. From 3.0.0 until 3.2.4, a missing comma in BLOCKED_PATTERNS concatenates the /lab and /api/terminals regular-expression literals. Requests to /api/terminals therefore bypass the anonymous endpoint blocklist and reach Jupyter Server's terminal API. An unauthenticated attacker can use the resulting interactive operating-system shell to execute commands and access data available to the Mercury process. This issue is fixed in version 3.2.4.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
10.0 Critical
Exploitation
3% chance of attack within 30 days
Type
CWE-185Incorrect Regular Expression
CWE-284Improper Access Control
Timeline
Published19 Oct 2026
Updated19 Nov 2026
First seen19 Oct 2026
Track software like this
Free during beta