{"id":"CVE-2026-111058","published":"2026-10-19T16:06:22Z","modified":"2026-10-19T17:06:53Z","title":"Mercury: Unauthenticated Remote Code Execution via /api/kernels","vendor":"mljar","product":"mercury","tier":"tail","description":{"text":"Mercury is a Python framework for sharing Jupyter notebooks as web applications and dashboards. Prior to 3.2.6, default tokenless deployments allow anonymous clients to create Jupyter kernels and send execute_request messages containing arbitrary Python. The endpoint blocklist does not cover /api/kernels, and the websocket wrapper previously tracked idle activity without authorizing executable messages. This issue is fixed in version 3.2.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00653,"percentile":0.46018,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/mljar/mercury/security/advisories/GHSA-rv4m-xm3f-3ccq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mljar/mercury/commit/73a40ceb0becf057f495a5738ad7f5a5222a53e1","tags":["x_refsource_MISC"]},{"url":"https://github.com/mljar/mercury/releases/tag/3.2.6","tags":["x_refsource_MISC"]}],"priority":{"score":21.1,"factors":[{"name":"EPSS percentile","points":9.2},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-10-20","earliestUrl":"https://github.com/ExDev994/CVE-2026-111058-CVE-2026-111057-mercury-rce","repos":[{"name":"ExDev994/CVE-2026-111058-CVE-2026-111057-mercury-rce","url":"https://github.com/ExDev994/CVE-2026-111058-CVE-2026-111057-mercury-rce","stars":0,"created":"2026-10-20"}]},"first":{"date":"2026-10-20","source":"PoC-in-GitHub","url":"https://github.com/ExDev994/CVE-2026-111058-CVE-2026-111057-mercury-rce"},"provenance":"source"},"vendorSlug":"mljar","affectedVersions":[{"vendor":"mljar","product":"mercury","versions":["< 3.2.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-19T17:05:16.440516Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mercury","vulnerableRanges":["<3.2.6"],"patched":["3.2.6"],"from":["GHSA-rv4m-xm3f-3ccq"],"provenance":"source"}],"summary":{"text":"The flaw is in mljar's Mercury, a Python framework for sharing Jupyter notebooks as web applications and dashboards, where default tokenless deployments prior to version 3.2.6 fail to restrict access to kernel creation and execution. An unauthenticated remote attacker over the network, requiring no user interaction and only a default tokenless configuration, can create Jupyter kernels through /api/kernels and send execute_request messages containing arbitrary Python code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:19:05Z"},"euvd":{"id":"EUVD-2026-104420","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mljar-mercury-cve-2026-111057","parents":[{"from":"CVE-2026-111057","to":"CVE-2026-111058","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mercury","fromFixed":"3.2.4","toFixed":"3.2.6","daysApart":0},{"kind":"same-code","provenance":"machine","files":["mercury_app/block_handler.py"],"commits":["https://github.com/mljar/mercury/commit/8c467129037ee9df269d543ac217ffd33b97bf3f","https://github.com/mljar/mercury/commit/73a40ceb0becf057f495a5738ad7f5a5222a53e1"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.4,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-111057","published":"2026-10-19","fixed":"3.2.4","kev":false},{"cve":"CVE-2026-111058","published":"2026-10-19","fixed":"3.2.6","kev":false},{"cve":"CVE-2026-111059","published":"2026-10-19","fixed":"3.2.11","kev":false,"link":{"from":"CVE-2026-111058","to":"CVE-2026-111059","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mercury","fromFixed":"3.2.6","toFixed":"3.2.11","daysApart":0},{"kind":"similar","provenance":"machine","score":0.31,"basis":"same product + description similarity"}]}}],"package":"PyPI:mercury"}}