Critical severity · published Oct 19, 2026
CVE-2026-111057
Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass
10.0
CVSS
0.4%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 38% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ME
mercury · mljar
>= 3.0.0, < 3.2.4 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-111057
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-111057
github.com
https://github.com/mljar/mercury/commit/8c467129037ee9df269d543ac217ffd33b97bf3f
github.com
https://github.com/mljar/mercury/releases/tag/v3.2.4
github.com
https://github.com/mljar/mercury/security/advisories/GHSA-f8c7-rwf9-fmgm
More from mercury
9.8
CVE-2026-111058
Mercury: Unauthenticated Remote Code Execution via /api/kernels
6.1
CVE-2026-111059
Mercury: Stored / DOM Cross-Site Scripting (XSS): mr.Markdown renders untrusted content as raw, unsanitized HTML
