CVE-2026-111057
Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass
A public proof of concept exists; no exploitation attested.
- Published2026-10-19
- Fixed in3.2.4
- WeaknessCWE-185 · CWE-284
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-11-1805:17Nuclei detection templateProjectDiscovery
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.x | ≥ 3.0.0, < 3.2.4 | 3.2.4 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- mljar mercuryAffected
- = >= 3.0.0, < 3.2.4no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-10-19
Fix
- Update mercury to 3.2.4
Detection
read 2026-12-04 04:56 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-10-28
- PoC-in-GitHubno public repository identifiedread 2026-12-03
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2026-10-28
- CNACVSS 3.110known since 2026-10-28
- CNAweakness (CWE)CWE-185, CWE-284known since 2026-10-28
- NVDweakness (CWE)CWE-185, CWE-284read 2026-10-28
- FIRST EPSSEPSS score3.1 %2026-12-03
- ProjectDiscoverydetectionread 2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCritical2026-10-19
Identifiers
- EUVD-2026-104419same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-f8c7-rwf9-fmgmsame flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Published
- 2026-10-19
- Last modified
- 2026-10-28
- NVD status
- Deferred
- GitHub advisory
- GHSA-f8c7-rwf9-fmgm
Frequently asked questions
What is CVE-2026-111057?
Is CVE-2026-111057 actively exploited?
What is the CVSS score for CVE-2026-111057?
Running mercury? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-111058same productMercury: Unauthenticated Remote Code Execution via /api/kernels
- CVE-2026-111059same productMercury: Stored / DOM Cross-Site Scripting (XSS): mr.Markdown renders untrusted content as raw, unsanitized HTML
- CVE-2026-109619KEVsame weekRCE via stale global state
- CVE-2026-109618KEVsame weekRCE via OOM corruption
- CVE-2026-111497KEVsame weekOut-of-Bounds Write in Google Brotli Decoder
- CVE-2026-114625KEVsame weekSecurity Advisory 0199
- CVE-2026-76466KEVsame weekCisco Expressway Series Remote Code Execution Vulnerability
- CVE-2026-110264same weekInteger Overflow or Wraparound in GitLab
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-f8c7-rwf9-fmgm
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0