CVE-2026-141341
Published:December 01, 2026
Updated:December 04, 2026
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.
Affected Packages
coconut (CONDA):
Affected version(s) >=2.0.0 <3.3.1 || >=3.0.0 <3.3.1 || >=1.2.3 <3.3.1Fix Suggestion:
Update to version 3.3.1https://github.com/evhub/coconut.git (GITHUB):
Affected version(s) >=v0.1.0 <v3.3.1 || >=v1.0.0 <v3.3.1 || >=v2.0.0 <v3.3.1 || >=v3.0.0 <v3.3.1Fix Suggestion:
Update to version v3.3.1coconut (PYTHON):
Affected version(s) >=2.0.0 <3.3.1 || >=3.0.0 <3.3.1 || >=0.1.0 <3.3.1 || >=1.0.0 <3.3.1Fix Suggestion:
Update to version 3.3.1Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.5
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Search Path Element
EPSS
Base Score:
0.44