{"answers":{"affected":"2 open source packages ship an affected version, including mercury.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-111057 exists.","fix":"Upgrade mercury to 3.2.4 or later.","what":"CVE-2026-111057 is a critical authentication bypass vulnerability in mljar mercury, published on 19 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-111057 and fix it if it is affected.\n\nWhat it is: CVE-2026-111057 is a critical authentication bypass vulnerability in mljar mercury, published on 19 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-111057 exists.\n\nAffected packages and fixed versions:\n- mercury (PyPI): affected from 3.0.0; fixed in 3.2.4\n- mercury (PyPI): affected from 3.0.0; fixed in 3.2.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-111057/ (Markdown: https://insights.sbomify.com/CVE-2026-111057/index.md)","id":"CVE-2026-111057","markdown":"https://insights.sbomify.com/CVE-2026-111057/index.md","name":"CVE-2026-111057","record":{"aliases":["GHSA-f8c7-rwf9-fmgm"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Python notebook framework","requires_auth":"none","summary":"An unauthenticated attacker can bypass access controls to execute arbitrary commands and read data via the terminal API in Mercury.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-185","name":"Incorrect Regular Expression"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Mercury: Unauthenticated Remote Code Execution in /api/terminals - access control bypass","id":"CVE-2026-111057","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Mercury: Unauthenticated Remote Code Execution via /api/kernels","id":"CVE-2026-111058"},"packages":[{"ecosystem":"PyPI","fixed":["3.2.4"],"introduced":["3.0.0"],"last_affected":[],"package":"mercury","purl":null,"source":"GHSA-f8c7-rwf9-fmgm"},{"ecosystem":"PyPI","fixed":["3.2.4"],"introduced":["3.0.0"],"last_affected":[],"package":"mercury","purl":"pkg:pypi/mercury","source":"GHSA-f8c7-rwf9-fmgm"}],"prev":{"headline":"FOSSBilling: Unauthenticated client account enumeration via guest signup endpoint","id":"CVE-2026-111056"},"products":["mercury"],"published":"2026-10-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-28","vendors":["mljar"]},"summary":"An unauthenticated attacker can bypass access controls to execute arbitrary commands and read data via the terminal API in Mercury.","url":"https://insights.sbomify.com/CVE-2026-111057/"}