Skip to main content

Coconut

1 CVEs product

Monthly

CVE-2026-141341 Dec 01, 15:43 HIGH PATCH This Week

Code execution in the Coconut package (PyPI) through 3.3.0 occurs when a victim opens an attacker-supplied Jupyter notebook that selects the bundled 'coconut' kernelspec from a folder that also contains a planted coconut/__init__.py, causing the attacker's package to be imported instead of the installed one before any cell is run. Exploitation requires the coconut kernel to be installed on the victim's machine and the victim to open the notebook (user interaction, no privileges required per the CVSS vector PR:N), and the injected code runs with the opening user's privileges - on JupyterHub, as the hub user. A public proof-of-concept is documented in the vendor advisory and SSVC exploitation status is 'poc'; there is no CISA KEV entry, so active exploitation is not confirmed, and the vendor priority label is this_week with the fix landing in 3.3.1.

Python Jupyter Coconut
NVD GitHub
CVSS 4.0
8.5
CVSS 8.5
HIGH PATCH This Week

Code execution in the Coconut package (PyPI) through 3.3.0 occurs when a victim opens an attacker-supplied Jupyter notebook that selects the bundled 'coconut' kernelspec from a folder that also contains a planted coconut/__init__.py, causing the attacker's package to be imported instead of the installed one before any cell is run. Exploitation requires the coconut kernel to be installed on the victim's machine and the victim to open the notebook (user interaction, no privileges required per the CVSS vector PR:N), and the injected code runs with the opening user's privileges - on JupyterHub, as the hub user. A public proof-of-concept is documented in the vendor advisory and SSVC exploitation status is 'poc'; there is no CISA KEV entry, so active exploitation is not confirmed, and the vendor priority label is this_week with the fix landing in 3.3.1.

Python Jupyter Coconut
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy