CVE-2026-111057 mljar · mercury
AI summary
Mercury 3.0.0 before 3.2.4 has a missing comma that lets /api/terminals requests bypass the anonymous blocklist. A remote unauthenticated attacker gets an interactive shell and can run commands as the Mercury process. Maximum severity (10.0); upgrade to 3.2.4 immediately.
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.
- Published
- 2026-10-19 16:17 UTC
- Modified
- 2026-10-28 16:17 UTC
- CVSS
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - EPSS
- 3.25% (percentile 89)
- ENISA EUVD
- EUVD-2026-104419
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
- CWE
- CWE-185
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- changed
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- 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