{"id":"CVE-2026-141341","aliases":["EUVD-2026-140309","GHSA-46vx-4v63-rm72","GHSA-85q3-whq8-63qq"],"status":"published","title":"Coconut through 3.3.0 Code Execution via Jupyter Kernel Module Hijacking","description":"Coconut through 3.3.0 contains an untrusted search path vulnerability in its Jupyter kernelspec that allows attackers to execute code by placing a malicious coconut package beside a notebook. Because python -m coconut.icoconut puts the notebook's directory first on sys.path, a planted coconut/__init__.py runs as the user when the notebook opens and the kernel auto-starts.","severity":{"version":"4.0","score":8.5,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna","from":"cve","others":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},{"version":"4.0","score":8.5,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00437,"percentile":0.39756,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false,"poc_reported":true},"cwes":["CWE-427"],"published":"2026-12-01T15:43:09Z","modified":"2026-12-04T16:38:28Z","products":[{"vendor":"evhub","product":"coconut"}],"references":[{"url":"https://github.com/evhub/coconut/security/advisories/GHSA-85q3-whq8-63qq","tags":["vendor-advisory","exploit","advisory"]},{"url":"https://github.com/evhub/coconut/commit/8a26f0db5c86f35abc8c9f452d02448d505c59ae","tags":["patch","fix"]},{"url":"https://github.com/evhub/coconut/blob/v3.3.0/coconut/icoconut/coconut_py3/kernel.json","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/coconut-through-3.3.0-code-execution-via-jupyter-kernel-module-hijacking","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141341","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-46vx-4v63-rm72"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141341.json","tags":["advisory"]},{"url":"https://github.com/evhub/coconut","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-141341","title":"Coconut through 3.3.0 Code Execution via Jupyter Kernel Module Hijacking","description":"Coconut through 3.3.0 contains an untrusted search path vulnerability in its Jupyter kernelspec that allows attackers to execute code by placing a malicious coconut package beside a notebook. Because python -m coconut.icoconut puts the notebook's directory first on sys.path, a planted coconut/__init__.py runs as the user when the notebook opens and the kernel auto-starts.","status":"published","published":"2026-12-01T15:43:09.235Z","modified":"2026-12-01T16:28:21.797Z","cvss":[{"version":"4.0","score":8.5,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-427"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total","date":"2026-12-01"},"updated_at":"2026-12-01T16:37:27.785276Z"}],"euvd":[{"id":"EUVD-2026-140309","description":"Coconut through 3.3.0 contains an untrusted search path vulnerability in its Jupyter kernelspec that allows attackers to execute code by placing a malicious coconut package beside a notebook. Because python -m coconut.icoconut puts the notebook's directory first on sys.path, a planted coconut/__init__.py runs as the user when the notebook opens and the kernel auto-starts.","status":"published","published":"2026-12-01T15:43:09Z","modified":"2026-12-01T16:28:21Z","cvss":[{"version":"4.0","score":8.5,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-12-01T21:20:37.677681Z"}],"ghsa":[{"id":"GHSA-46vx-4v63-rm72","title":"Coconut through 3.3.0 contains an untrusted search path vulnerability in its Jupyter kernelspec...","description":"Coconut through 3.3.0 contains an untrusted search path vulnerability in its Jupyter kernelspec that allows attackers to execute code by placing a malicious coconut package beside a notebook. Because python -m coconut.icoconut puts the notebook's directory first on sys.path, a planted coconut/__init__.py runs as the user when the notebook opens and the kernel auto-starts.","status":"published","published":"2026-12-01T18:31:49Z","modified":"2026-12-01T18:31:58Z","cvss":[{"version":"4.0","score":8.5,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-427"],"updated_at":"2026-12-01T19:00:45.303758Z"}],"nvd":[{"id":"CVE-2026-141341","description":"Coconut through 3.3.0 contains an untrusted search path vulnerability in its Jupyter kernelspec that allows attackers to execute code by placing a malicious coconut package beside a notebook. Because python -m coconut.icoconut puts the notebook's directory first on sys.path, a planted coconut/__init__.py runs as the user when the notebook opens and the kernel auto-starts.","status":"published","published":"2026-12-01T16:18:27.65Z","modified":"2026-12-04T16:38:28.523Z","cvss":[{"version":"4.0","score":8.5,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-427"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total","date":"2026-12-01"},"updated_at":"2026-12-01T17:21:43.418987Z"}],"osv":[{"id":"CVE-2026-141341","title":"Coconut through 3.3.0 Code Execution via Jupyter Kernel Module Hijacking","description":"Coconut through 3.3.0 contains an untrusted search path vulnerability in its Jupyter kernelspec that allows attackers to execute code by placing a malicious coconut package beside a notebook. Because python -m coconut.icoconut puts the notebook's directory first on sys.path, a planted coconut/__init__.py runs as the user when the notebook opens and the kernel auto-starts.","status":"published","published":"2026-12-01T15:43:09.235Z","modified":"2026-12-02T21:01:51.405282961Z","cvss":[{"version":"4.0","score":8.5,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-427"],"updated_at":"2026-12-02T21:28:42.350468Z"}]}}
