{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "3.0.0"
              },
              {
                "fixed": "3.2.4"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "d6921dd842d5835d43a7558c5a4ddbcff8b5e540"
            },
            {
              "fixed": "7f637cd690fdd8d8461e500f9ebc030f0aef2e17"
            }
          ],
          "repo": "https://github.com/mljar/mercury",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-f8c7-rwf9-fmgm"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-185",
      "CWE-284"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111057.json"
  },
  "details": "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.",
  "id": "CVE-2026-111057",
  "modified": "2026-10-20T02:30:59.159726820Z",
  "published": "2026-10-19T16:04:07.065Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111057.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mljar/mercury/commit/8c467129037ee9df269d543ac217ffd33b97bf3f"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mljar/mercury/releases/tag/v3.2.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mljar/mercury/security/advisories/GHSA-f8c7-rwf9-fmgm"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111057"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass"
}