CVE-2026-141341
published high CVSS 4.0 · 8.5Coconut through 3.3.0 Code Execution via Jupyter Kernel Module Hijacking
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| evhub | — | coconut0 through 3.3.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| evhub | coconut | 0 through 3.3.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-427 Uncontrolled Search Path Element
References
4- https://github.com/evhub/coconut/blob/v3.3.0/coconut/icoconut/coconut_py3/kernel.json
- https://github.com/evhub/coconut/commit/8a26f0db5c86f35abc8c9f452d02448d505c59ae
- GitHub Security Advisory (GHSA-85q3-whq8-63qq) https://github.com/evhub/coconut/security/advisories/GHSA-85q3-whq8-63qq
- VulnCheck Advisory: Coconut through 3.3.0 Code Execution via Jupyter Kernel Module Hijacking https://www.vulncheck.com/advisories/coconut-through-3.3.0-code-execution-via-jupyter-kernel-module-hijacking
Provider assertions
1VulnCheck · cna
Coconut through 3.3.0 Code Execution via Jupyter Kernel Module Hijacking
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6ed9227ce2c9967c454684cc5c05d336dee79df3efd79a3865c16dbb735765fc
- Ingested
- 01 Dec 2026, 15:53:23 UTC
- Source record
- Official CVE record