Skip to main content
Public proof of conceptFix available

CVE-2026-111057

Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass

A public proof of concept exists; no exploitation attested.

  • Published2026-10-19
  • Fixed in3.2.4
  • WeaknessCWE-185 · CWE-284

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-11-1805:17Nuclei detection templateProjectDiscovery

Versions per branch

OSV
mercury
BranchAffectedFixed in
3.x≥ 3.0.0, < 3.2.43.2.4

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • mljar mercury
    Affected
    • = >= 3.0.0, < 3.2.4no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-10-19

Fix

  1. Update mercury to 3.2.4

Detection

read 2026-12-04 04:56 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Published
2026-10-19
Last modified
2026-10-28
NVD status
Deferred
GitHub advisory
GHSA-f8c7-rwf9-fmgm

Frequently asked questions

What is CVE-2026-111057?

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.

Is CVE-2026-111057 actively exploited?

A proof-of-concept exploit exists for CVE-2026-111057, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-111057?

CVE-2026-111057 has a CVSS v3 base score of 10 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.

Running mercury? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record