Skip to content
HighVulnerability

CVE-2026-141341: Coconut untrusted search path in Jupyter kernelspec allows code execution

Identifier
CVE-2026-141341
Published
Record updated
View JSON

Summary

Coconut through 3.3.0 has an untrusted search path flaw in its Jupyter kernelspec. Because python -m coconut.icoconut places the notebook's directory first on sys.path, a planted coconut/__init__.py beside a notebook runs as the user when the notebook opens and the kernel auto-starts.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.