CVE-2026-111057mljar mercury
Unauthenticated Remote Code Execution in Mercury
Critical 10.0 No auth needed
Follow: this CVE · mljar · mljar mercury We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 10.0
- EPSS
- —
- Auth required
- No
- Published
- Oct 19, 2026
- Updated
- Oct 28, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
What happens
Mercury, a Python framework for sharing Jupyter notebooks as web applications, contains a syntax error in blocked patterns configuration that bypasses the anonymous endpoint blocklist. An unauthenticated attacker can access Jupyter Server's terminal API and execute arbitrary operating-system commands with the privileges of the Mercury process.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 3.2.4
Update Mercury to version 3.2.4 or later to fix the syntax error in BLOCKED_PATTERNS.
- Apply the vendor's security update for mercury.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | mercury |
≥ 3.0.0 < 3.2.4 |
3.2.4 |
pip install "mercury>=3.2.4" |
Per OSV / GitHub Advisories (GHSA-f8c7-rwf9-fmgm). Check the version in your lockfile before upgrading.
Affected products
- mljar · mercury
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.