[ CVE-2026-111057 · Published 19 Oct 2026 ]
Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass
CVSS 10.0
EPSS <1%Fix available
[ Why it matters ]Priority signals
- Critical severity: CVSS 10.0
[ Description ]Official description
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.
[ Fixes ]Fixes and patches
- mercury 3.2.4Fixed version · GitHub Advisories · pip package mercury: upgrade to 3.2.4 or later (affected >= 3.0.0, <= 3.2.3)
[ Packages ]Affected open-source packages
- mercury pipAffected >= 3.0.0, <= 3.2.3 · fixed in 3.2.4 · GHSA-f8c7-rwf9-fmgm