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.

Project Subscriptions

Vendors Products
Mercury Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-f8c7-rwf9-fmgm Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 28 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Mljar
Mljar mercury
Vendors & Products Mljar
Mljar mercury

Mon, 19 Oct 2026 16:15:00 +0000

Type Values Removed Values Added
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.
Title Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass
Weaknesses CWE-185
CWE-284
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-28T15:31:24.524Z

Reserved: 2026-10-15T12:47:13.664Z

Link: CVE-2026-111057

cve-icon Vulnrichment

Updated: 2026-10-28T15:30:59.302Z

cve-icon NVD

Status : Deferred

Published: 2026-10-19T16:17:03.810

Modified: 2026-10-28T16:17:00.940

Link: CVE-2026-111057

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T16:58:25Z

Weaknesses