# CVE-2026-141341: Coconut through 3.3.0 Code Execution via Jupyter Kernel Module Hijacking

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-12-01T15:43:09.235Z
- Modified: 2026-12-01T17:17:38.827Z
- Weaknesses: CWE-427
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- evhub coconut: up to 3.3.0

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/evhub/coconut/security/advisories/GHSA-85q3-whq8-63qq> (exploit, vendor-advisory)
- <https://github.com/evhub/coconut/commit/8a26f0db5c86f35abc8c9f452d02448d505c59ae> (patch)
- <https://github.com/evhub/coconut/blob/v3.3.0/coconut/icoconut/coconut_py3/kernel.json> (technical-description)
- <https://www.vulncheck.com/advisories/coconut-through-3.3.0-code-execution-via-jupyter-kernel-module-hijacking> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-141341](https://www.cve.org/CVERecord?id=CVE-2026-141341), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-141341](https://nvd.nist.gov/vuln/detail/CVE-2026-141341), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-141341 · Whole record: https://cve.day/CVE-2026-141341.json · Rebuilt by cve.day 2026-12-01T17:32:44.873Z
