CVE-2014-3429: IPython Notebook WebSocket Origin Validation Vulnerability
Summary
CVE-2014-3429: IPython Notebook vulnerable to improper validation of the origin of websocket requests. Affects ipython versions >= 0.12, < 1.2.0. Fixed in 1.2.0. How to fix ↓
Also tracked for
- ipython · Debian:11
The same CVE-2014-3429 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
IPython Notebook is an interactive computational environment that allows users to create and share documents containing live code, equations, visualizations, and narrative text. It provides a web-based interface for creating and running Jupyter notebooks, which are a combination of code cells and markdown cells. IPython Notebook versions 0.12 through 1.x before 1.2.0 are affected by a vulnerability that allows remote attackers to execute arbitrary code.
Vulnerability Detail
The vulnerability in IPython Notebook arises from the improper validation of the origin of websocket requests. This allows an attacker with knowledge of the kernel id and a crafted page to execute arbitrary code. By exploiting this vulnerability, an attacker can gain unauthorized access to the system and potentially perform malicious actions.
How To Fix
Latest published version: 9.17.1 as of 23 Oct 2026
pip install --upgrade "ipython==9.17.1"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
1.2.0
This is the first release that contains the fix.
pip install --upgrade "ipython==1.2.0"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
If upgrading to the latest version is not immediately feasible, a temporary workaround is to restrict access to the IPython Notebook service by implementing network-level controls such as firewalls or IP whitelisting. This can help mitigate the risk of unauthorized access and code execution.
Conclusion
The IPython Notebook WebSocket Origin Validation Vulnerability allows remote attackers to execute arbitrary code by exploiting the improper validation of websocket request origins. It is crucial to upgrade to IPython Notebook version 1.2.0 or later to mitigate this vulnerability. In the meantime, implementing network-level controls can provide temporary protection. For further assistance and support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for ipython →
FAQ
IPython Notebook is an interactive computational environment for creating and sharing documents containing live code, equations, visualizations, and narrative text.
IPython Notebook versions 0.12 through 1.x before 1.2.0 are affected by this vulnerability.
An attacker with knowledge of the kernel id and a crafted page can exploit this vulnerability to execute arbitrary code.
By exploiting this vulnerability, an attacker can gain unauthorized access to the system and potentially perform malicious actions.
A temporary workaround is to restrict access to the IPython Notebook service by implementing network-level controls such as firewalls or IP whitelisting.
References
Related vulnerabilities
Recent vulnerabilities recorded for ipython.