CVE-2026-111057 PUBLISHED

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

Assigner: GitHub_M
Reserved: 15.10.2026 Published: 19.10.2026 Updated: 19.10.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 10

Product Status

Vendor mljar
Product mercury
Versions
  • Version >= 3.0.0, < 3.2.4 is affected

References

Problem Types

  • CWE-185: Incorrect Regular Expression CWE
  • CWE-284: Improper Access Control CWE