CVE-2026-111058

Mercury: Unauthenticated Remote Code Execution via /api/kernels

Published Oct 19, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed Exploit · 1
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.

Analysis

AI-generated

Technical 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.

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.

Exploit (1)

1 public exploit detected. Explore public exploit intelligence with OpenCVE Pro.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rv4m-xm3f-3ccq Mercury: Unauthenticated Remote Code Execution via /api/kernels
History
Type Values Removed Values Added
First Time appeared Mljar
Mljar mercury
Vendors & Products Mljar
Mljar mercury
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 19, 2026, 5:06 PM
Reserved
Oct 15, 2026, 12:47 PM
Status
Awaiting Analysis
Published
Oct 19, 2026, 4:17 PM
Modified
Oct 19, 2026, 9:13 PM