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
Source GCVE Database
Not known to be exploited · CVSS 8.5 High.
Data as of 1 Dec 2026, 19:00 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| evhubcoconut | Affected
| Fixed in– |
PyPIcoconutpkg:pypi/coconutOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- github.com/evhub/coconut/security/advisories/GHSA-85q3-whq8-63qq (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-141341 (opens in a new tab)
- github.com/evhub/coconut/commit/8a26f0db5c86f35abc8c9f452d02448d505c59ae (opens in a new tab)
- github.com/evhub/coconut/blob/v3.3.0/coconut/icoconut/coconut_py3/kernel.json (opens in a new tab)
- vulncheck.com/advisories/coconut-through-3.3.0-code-execution-via-jupyter-kernel-module-hijacking (opens in a new tab)