CVE-2026-141341
Coconut through 3.3.0 contains an untrusted search path …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/evhub/coconut/blob/v3.3.0/coconut/icoconut/coconut_py3/kernel.json
- github.com/evhub/coconut/commit/8a26f0db5c86f35abc8c9f452d02448d505c59ae
- github.com/evhub/coconut/security/advisories/GHSA-85q3-whq8-63qq
- www.vulncheck.com/advisories/coconut-through-3.3.0-code-execution-via-jupyter-kernel-modul
- nvd.nist.gov/vuln/detail/CVE-2026-141341
- cve.org/CVERecord?id=CVE-2026-141341
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.