PoC Monitor
← All CVEs
CVE-2026-111057published 19 Oct 2026 16:04 UTCData: JSON · API

Mercury

Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass

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.

First public PoC 13 hafter publication · 20 Oct 2026
Public PoCs21 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS10.0critical · scored by CNA · CWE-185
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

mljar mercury
  • >= 3.0.0, < 3.2.4

Fixed in 3.2.4

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published19 Oct 2026 · t = 0First public PoC20 Oct 2026 · t+13h

First public PoC 13 h after publication; not in CISA KEV. First PoC: ExDev994/CVE-2026-111058-CVE-2026-111057-mercury-rce (created 20 Oct 2026, found by us: 14 Nov 2026).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedFound by usStarsAssessment
ExDev994/CVE-2026-111058-CVE-2026-111057-mercury-rce 20 Oct 2026 +13 h 14 Nov 2026 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Mercury 3.0.0 - 3.2.3 - Unauthenticated Terminal Access16 Nov 202617 Nov 2026

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /api/kernels
(?i)^/api/kernels(?:[?#].*)?$
POST /api/terminals
(?i)^/api/terminals(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/kernels
alert http any any -> $HOME_NET [8883,8885,8888] (msg:"GG PoC-Monitor CVE-2026-111057 mljar mercury exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/kernels"; http.request_body; content:"|22|name|22|:|22|python3|22|"; http.request_body; content:"|22|name|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-111057; classtype:web-application-attack; sid:9358816; rev:1;)
POST /api/terminals
alert http any any -> $HOME_NET [8883,8885,8888] (msg:"GG PoC-Monitor CVE-2026-111057 mljar mercury exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/terminals"; reference:url,poc.griffinguard.io/cve/CVE-2026-111057; classtype:web-application-attack; sid:9040355; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /api/kernels
title: mljar mercury exploit attempt (CVE-2026-111057)
id: gg-pocmon-cve-2026-111057-9358816
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-111057. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-111057
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/kernels'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.111057
POST /api/terminals
title: mljar mercury exploit attempt (CVE-2026-111057)
id: gg-pocmon-cve-2026-111057-9040355
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-111057. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-111057
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/terminals'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.111057