CVE-2026-111058mljar mercury
Unauthenticated Remote Code Execution in Mercury
Critical 9.8 No auth needed
Follow: this CVE · mljar · mljar mercury We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Oct 19, 2026
- Updated
- Oct 19, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-862
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Mercury, a Python framework for sharing Jupyter notebooks as web applications, allows unauthenticated clients to create Jupyter kernels and execute arbitrary Python code in versions prior to 3.2.6. The /api/kernels endpoint lacked protection and the websocket wrapper did not authorize executable messages. An attacker without authentication can execute arbitrary code on the server.
Show the original NVD text
Mercury is a Python framework for sharing Jupyter notebooks as web applications and dashboards. Prior to 3.2.6, default tokenless deployments allow anonymous clients to create Jupyter kernels and send execute_request messages containing arbitrary Python. The endpoint blocklist does not cover /api/kernels, and the websocket wrapper previously tracked idle activity without authorizing executable messages. This issue is fixed in version 3.2.6.
What to do
Patch available · fixed versions: 3.2.6
Update Mercury to version 3.2.6 or later to apply the security fix.
- Apply the vendor's security update for mercury.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | mercury |
< 3.2.6 |
3.2.6 |
pip install "mercury>=3.2.6" |
Per OSV / GitHub Advisories (GHSA-rv4m-xm3f-3ccq). Check the version in your lockfile before upgrading.
Affected products
- mljar · mercury
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.