---
title: "CVE-2026-111057: Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass"
url: https://erroneo.us/security/cve/CVE-2026-111057/
description: "CVE-2026-111057 (mercury (PyPI)): Mercury is a Python framework for sharing Jupyter notebooks as web applications and dashboards. From 3.0.0 until 3.2.4, a…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-10-19
date_modified: 2026-10-19
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-111057"
kev: false
cvss: 10
epss: 0.00443
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-111057: Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.4% , percentile 37: FIRST’s model estimates a 0.4% chance of exploitation activity in the next 30 days, higher than 37% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes mercury (PyPI) >= 3.0.0, <= 3.2.3, fixed in 3.2.4 . Check your lockfile, including transitive dependencies.

## What it is

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 BLOCKEDPATTERNS 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 packages

- PyPI `mercury` >= 3.0.0, <= 3.2.3 → fixed: 3.2.4

## Affected products (CVE record)

- mljar mercury: >= 3.0.0, < 3.2.4

## Severity

- GitHub_M CVSS 3.1: 10 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 10.0 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- FIRST EPSS (model of 2026-10-21): 0.44% probability of exploitation activity in the next 30 days; percentile 37.

## Sources

- [GitHub Advisory GHSA-f8c7-rwf9-fmgm](https://github.com/advisories/GHSA-f8c7-rwf9-fmgm)
- [CVE.org record CVE-2026-111057](https://www.cve.org/CVERecord?id=CVE-2026-111057)
- [NVD entry CVE-2026-111057](https://nvd.nist.gov/vuln/detail/CVE-2026-111057)
- [github.com](https://github.com/mljar/mercury/security/advisories/GHSA-f8c7-rwf9-fmgm)
- [github.com](https://github.com/mljar/mercury/commit/8c467129037ee9df269d543ac217ffd33b97bf3f)
- [github.com](https://github.com/mljar/mercury/releases/tag/v3.2.4)

---
Source page: https://erroneo.us/security/cve/CVE-2026-111057/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
