CVE-2026-111057Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass
- 10.0CriticalCVSS base score
- 2.7%Exploitation in 30 daysEPSS · top 14% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Nuclei template for it. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits2
Nuclei templates1 template
- Mercury 3.0.0 - 3.2.3 - Unauthenticated Terminal Access (Nuclei template) (opens in a new tab)
http/cves/2026/CVE-2026-111057.yamlSeverity critical
References tagged exploit1 reference
- https://github.com/mljar/mercury/security/advisories/GHSA-f8c7-rwf9-fmgm (opens in a new tab)x_refsource_CONFIRMexploit
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By GitHub_M
- 4 days later
· 4 days later
Published
- 9 days later
· 9 days later
Record updated
- 21 days later
· 21 days later
EPSS rose above 1%
0.70% → 2.7%
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | Critical10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.7% · top 14% of all CVEs (20 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 10.0.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPImercuryGHSA-f8c7-rwf9-fmgm (opens in a new tab)
References
References3
- https://github.com/mljar/mercury/security/advisories/GHSA-f8c7-rwf9-fmgm (opens in a new tab)x_refsource_CONFIRMexploit
- https://github.com/mljar/mercury/commit/8c467129037ee9df269d543ac217ffd33b97bf3f (opens in a new tab)x_refsource_MISC
- https://github.com/mljar/mercury/releases/tag/v3.2.4 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-104419 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-f8c7-rwf9-fmgm (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-111057)Record last updated .