{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-111057","id":"CVE-2026-111057","title":"Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass","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 intera","descriptionLong":"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.","published":"2026-10-19T16:04:07.065Z","updated":"2026-10-30T02:31:05.894217904Z","reserved":"2026-10-15T12:47:13.664Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["mljar mercury"],"affectedProducts":[{"vendor":"mljar","product":"mercury","defaultStatus":null,"versions":[{"version":">= 3.0.0, < 3.2.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"mercury","purl":"pkg:pypi/mercury","ranges":[">=3.0.0 <3.2.4"],"fixed":["3.2.4"],"advisory":"GHSA-f8c7-rwf9-fmgm"}],"cwes":["CWE-185","CWE-284"],"aliases":["GHSA-f8c7-rwf9-fmgm"],"references":[{"url":"https://github.com/mljar/mercury/security/advisories/GHSA-f8c7-rwf9-fmgm","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/mljar/mercury/commit/8c467129037ee9df269d543ac217ffd33b97bf3f","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/mljar/mercury/releases/tag/v3.2.4","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111057.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111057","tags":["advisory"]},{"url":"https://github.com/mljar/mercury","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.02659,"epssPercentile":0.86011,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-111057","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111057","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-111057","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f8c7-rwf9-fmgm","ok":true,"note":"GHSA-f8c7-rwf9-fmgm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-111057","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}