What’s Vulnerable › Vulnerabilities
CVE-2026-111057: Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass
- Severity: critical (CVSS 10.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-19 · updated 2026-10-28
- Weakness: CWE-185
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.
Affected products
- mljar mercury: from 3.0.0, < 3.2.4
References
- https://github.com/mljar/mercury/commit/8c467129037ee9df269d543ac217ffd33b97bf3f
- https://github.com/mljar/mercury/releases/tag/v3.2.4
- https://github.com/mljar/mercury/security/advisories/GHSA-f8c7-rwf9-fmgm
- https://github.com/mljar/mercury/security/advisories/GHSA-f8c7-rwf9-fmgm
Get alerted when CVE-2026-111057 or the next vulnerability affects your stack