Skip to content
Heist/ feed
Back to feed
Critical

Mercury: Unauthenticated Remote Code Execution via /api/kernels

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-111058
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 06:11 UTC · Revision 1

Source evidence

Mercury: Unauthenticated Remote Code Execution via /api/kernels

core-osv · Original source

Published 19 Oct 2026, 16:06 UTC

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.

osv:CVE-2026-111058
Complete source record
{
  "id": "b16929b9152872755c1f821b9bdeeff16144f60cce39532390d3b6a2afe963cf",
  "url": "https://osv.dev/vulnerability/CVE-2026-111058",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Mercury: Unauthenticated Remote Code Execution via /api/kernels",
    "summary": "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.",
    "evidence": "osv:CVE-2026-111058",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-111058",
      "aliases": [
        "CVE-2026-111058",
        "GHSA-rv4m-xm3f-3ccq"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mljar/mercury",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "342cc04d692487ae6fa2683353cb30d8961e8334"
                },
                {
                  "fixed": "73a40ceb0becf057f495a5738ad7f5a5222a53e1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.2.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "73a40ceb0becf057f495a5738ad7f5a5222a53e1"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "342cc04d692487ae6fa2683353cb30d8961e8334"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "3.2.6"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.2.3",
            "v3.2.2",
            "v3.2.1",
            "v3.2.0",
            "v3.1.2",
            "v3.1.1",
            "v3.1.0",
            "v3.0.1",
            "v3.0.0",
            "v2.4.3",
            "v2.4.2",
            "v2.4.1",
            "v2.3.10",
            "v2.3.9",
            "v2.3.8",
            "v2.3.6",
            "v2.3.5",
            "v2.3.7",
            "v2.3.1",
            "v2.3.0",
            "v2.2.9",
            "v2.2.8",
            "v2.2.7",
            "v2.2.6",
            "v2.2.1",
            "v2.2.0",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.12",
            "v2.0.10",
            "v2.0.9",
            "v2.0.8",
            "v2.0.7",
            "v2.0.4",
            "v2.0.0",
            "v1.1.6",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.1",
            "v1.0.0",
            "v0.8.6",
            "v0.8.0",
            "v0.7.0",
            "v0.6.10",
            "v0.6.8",
            "v0.6.0",
            "v0.5.1",
            "v0.4.1",
            "v0.4.0",
            "v0.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111058.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.994400363Z",
      "provider": "osv",
      "references": [
        "https://github.com/mljar/mercury/releases/tag/3.2.6",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111058.json",
        "https://github.com/mljar/mercury/security/advisories/GHSA-rv4m-xm3f-3ccq",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-111058",
        "https://github.com/mljar/mercury/commit/73a40ceb0becf057f495a5738ad7f5a5222a53e1"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-862"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111058.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-111058",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 511006,
  "published_at": "2026-10-19T16:06:22.646+00:00"
}