High severity7.8NVD Advisory· Published Dec 1, 2026· Updated Dec 1, 2026
CVE-2026-141341
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.
Affected products
1Patches
Vulnerability mechanics
References
4- github.com/evhub/coconut/blob/v3.3.0/coconut/icoconut/coconut_py3/kernel.jsonnvd
- github.com/evhub/coconut/commit/8a26f0db5c86f35abc8c9f452d02448d505c59aenvd
- github.com/evhub/coconut/security/advisories/GHSA-85q3-whq8-63qqnvd
- www.vulncheck.com/advisories/coconut-through-3.3.0-code-execution-via-jupyter-kernel-module-hijackingnvd
News mentions
0No linked articles in our index yet.