{"id":"CVE-2026-141341","summary":"Coconut through 3.3.0 Code Execution via Jupyter Kernel Module Hijacking","details":"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.","aliases":["GHSA-85q3-whq8-63qq"],"modified":"2026-12-01T17:46:09.828704862Z","published":"2026-12-01T15:43:09.235Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-427"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141341.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141341.json"},{"type":"PACKAGE","url":"https://github.com/evhub/coconut"},{"type":"ARTICLE","url":"https://github.com/evhub/coconut/blob/v3.3.0/coconut/icoconut/coconut_py3/kernel.json"},{"type":"FIX","url":"https://github.com/evhub/coconut/commit/8a26f0db5c86f35abc8c9f452d02448d505c59ae"},{"type":"ADVISORY","url":"https://github.com/evhub/coconut/security/advisories/GHSA-85q3-whq8-63qq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141341"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/coconut-through-3.3.0-code-execution-via-jupyter-kernel-module-hijacking"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/evhub/coconut","events":[{"introduced":"0"},{"last_affected":"9e9deed7236db1080a782e19cadc8144f2c44b1b"},{"fixed":"8a26f0db5c86f35abc8c9f452d02448d505c59ae"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"3.3.0"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"8a26f0db5c86f35abc8c9f452d02448d505c59ae"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v3.3.0","v3.2.0","v3.1.2","v3.1.1","v3.1.0","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.2.0","v2.1.1","v2.1.0","v2.0.0","v1.5.0","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.1","v1.3.0","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.1","v1.1.0","v1.0.0","v0.4.1","v0.4.0","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.2","v0.1.1","v0.1.0","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141341.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}