Skip to main content
← All vulnerabilities
CVE-2026-111057GHSA-F8C7-RWF9-FMGM

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.2.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • mljar mercury

    From 3.0.0 · fixed in 3.2.4

  • mercuryPyPI

    From 3.0.0 · fixed in 3.2.4

References 3

GitHub · mljar/mercury