{"schemaVersion":3,"id":"CVE-2026-111057","aliases":["GHSA-f8c7-rwf9-fmgm"],"status":"published","duplicateOf":null,"title":null,"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 interactive operating-system shell to execute commands and access data available to the Mercury process. This issue is fixed in version 3.2.4.","dates":{"published":"2026-10-19T16:04:07.065Z","modified":"2026-10-19T16:04:07.065Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":10,"impact":10,"computed":true}]},"epss":{"probability":0.00443,"percentile":0.37413,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-20T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00443,"percentile":0.37413}],"last30":[{"date":"2026-10-20T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00443,"percentile":0.37413}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-185","name":"Incorrect Regular Expression","description":"The product specifies a regular expression in a way that causes data to be improperly matched or compared.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/185.html"},{"id":"CWE-284","name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/284.html"}],"affected":[{"vendor":"mljar","product":"mercury","name":"mercury","label":"mercury","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0, < 3.2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < 3.2.4","eol":null,"hubHref":"/vendor/mljar/mercury"},{"vendor":"PyPI","product":"mercury","name":"mercury","label":"mercury","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/mercury","purlType":"pypi","versions":[{"text":"≥ 3.0.0, < 3.2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < 3.2.4","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/mljar/mercury/security/advisories/GHSA-f8c7-rwf9-fmgm","label":"github.com/mljar/mercury/security/advisories/GHSA-f8c7-rwf9-fmgm","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/mljar/mercury/commit/8c467129037ee9df269d543ac217ffd33b97bf3f","label":"github.com/mljar/mercury/commit/8c467129037ee9df269d543ac217ffd33b97bf3f","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/mljar/mercury/releases/tag/v3.2.4","label":"github.com/mljar/mercury/releases/tag/v3.2.4","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/mljar/mercury","label":"github.com/mljar/mercury","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-19T16:04:07.065Z","label":"Published","detail":"Vulnerability first disclosed.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T05:23:27.353Z","stale":false,"partial":false}}