CVE-2026-111057: Vulnerability in mercury

Critical. 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...

PyPI, CWE-185, CWE-284

Exploitation
None confirmed
Severity
10 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-f8c7-rwf9-fmgm
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-185, CWE-284
Published
19 Oct 2026
Last change
28 Oct 2026
Ecosystem
PyPI

Affected packages

Vulnerable version ranges and fixed releases

  • mercury PyPI, Affected from 3.0.0 through 3.2.3. Fixed in 3.2.4

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes