Vulnerability details

CVE-2026-111057

mljar mercury

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

CVSS 3.1
10.0Critical

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

CVSS scores

ScoreVersionSourceVector
10.0Critical 3.1 CVEProject cvelistV5 (CNA) (GitHub_M) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
mljar mercury >= 3.0.0, < 3.2.4 CVEProject cvelistV5 (CNA)

References and advisories

3
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-10-19
Last updated
2026-10-28
State
Published
Assigner (CNA)
GitHub_M
Kolun priority
28 · Low

Exploit prediction (EPSS)

0.69%
Probability of exploitation in 30 days
53.4%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
Yes
Exploitation
Proof of concept
Technical impact
Total

Weaknesses (CWE)

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