Description
Mercury is a Python framework for sharing Jupyter notebooks as web applications and dashboards. Prior to 3.2.6, default tokenless deployments allow anonymous clients to create Jupyter kernels and send execute_request messages containing arbitrary Python. The endpoint blocklist does not cover /api/kernels, and the websocket wrapper previously tracked idle activity without authorizing executable messages. This issue is fixed in version 3.2.6.
Published: 2026-10-19
Score: 9.8 Critical
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Patch Now
AI Analysis

Impact

The vulnerability arises because the Mercury framework allowed unauthenticated users to create Jupyter kernels through the /api/kernels endpoint. An attacker can then send execute_request messages that the server executes as arbitrary Python code. Because the endpoint blocklist does not include /api/kernels and the websocket wrapper does not verify executable messages, the flaw results in remote code execution, granting full control over the host system. The underlying weakness is missing authorization.

Affected Systems

The affected product is the Mercury Python framework from mljar. Deployments using version 3.2.5 or earlier that are configured without a token permit anonymous access to the /api/kernels API. Any user who can reach that endpoint can craft and execute Python code. The issue is present through version 3.2.5 and was fixed in version 3.2.6.

Risk and Exploitability

The CVSS score of 9.8 classifies this vulnerability as CRITICAL. Because authentication is not required, an attacker who can reach the Mercury instance can directly exploit the flaw with a simple HTTP request to /api/kernels. The exploitability is high, and although EPSS data is not provided, the lack of a KEV listing does not reduce the urgency. The vulnerability should be treated with maximum priority.

Generated by OpenCVE AI on October 19, 2026 at 17:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Mercury to at least version 3.2.6, where the flaw is addressed.
  • If upgrading immediately is infeasible, enforce authentication by configuring a token and restricting the /api/kernels endpoint to authorized users only.
  • Review and update any custom endpoint blocklists to ensure /api/kernels is blocked or protected, and disable kernel creation if the functionality is not required.

Generated by OpenCVE AI on October 19, 2026 at 17:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-rv4m-xm3f-3ccq Mercury: Unauthenticated Remote Code Execution via /api/kernels
History

Mon, 19 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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. Prior to 3.2.6, default tokenless deployments allow anonymous clients to create Jupyter kernels and send execute_request messages containing arbitrary Python. The endpoint blocklist does not cover /api/kernels, and the websocket wrapper previously tracked idle activity without authorizing executable messages. This issue is fixed in version 3.2.6.
Title Mercury: Unauthenticated Remote Code Execution via /api/kernels
Weaknesses CWE-862
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-19T17:06:53.899Z

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

Link: CVE-2026-111058

cve-icon Vulnrichment

Updated: 2026-10-19T17:05:32.060Z

cve-icon NVD

Status : Received

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

Modified: 2026-10-19T17:17:02.850

Link: CVE-2026-111058

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T17:30:13Z

Weaknesses