CVE-2026-111057
published critical CVSS 3.1 · 10.0Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mljar | — | mercury>= 3.0.0, < 3.2.4 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mljar | mercury | >= 3.0.0, < 3.2.4 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-185 CWE-185: Incorrect Regular Expression
- CWE-284 CWE-284: Improper Access Control
References
3Provider assertions
2GitHub_M · cna
Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a318c96f560301e72ab8ad0a1a5345976792b304b8afcc0c8e723787dc5767f8
- Ingested
- 28 Oct 2026, 15:36:44 UTC
- Source record
- Official CVE record