CVE-2015-7337: Remote Code Execution in IPython/Jupyter Notebook

notebook Updated 02 Oct 2025

Summary

29/09/2015
Yes i
Critical
9.8

CVE-2015-7337: The editor in IPython Notebook before 3.2.2 and Jupyter Notebook 4.0.x before 4.0.5 allows remote attackers to execute arbitrary JavaScript code via a crafted file, which triggers a redirect to files/, related to MIME ty... Affects notebook across 2 version ranges.

>= 4.0.0, < 4.0.5 < 9e63dd89b603dfbe3a7e774d8a962ee0fa30c0b5

Fixed in 9e63dd89b603dfbe3a7e774d8a962ee0fa30c0b5. How to fix ↓

Also tracked for

The same CVE-2015-7337 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

IPython Notebook is an interactive computational environment for creating and sharing documents containing live code, equations, visualizations, and narrative text. Jupyter Notebook is the successor to IPython Notebook and provides similar functionality. These tools are widely used in data science and scientific computing workflows. However, versions before IPython Notebook 3.2.2 and Jupyter Notebook 4.0.x before 4.0.5 are vulnerable to remote code execution.

Vulnerability Detail

The vulnerability (CVE-2015-7337) allows remote attackers to execute arbitrary JavaScript code by exploiting a flaw in the editor component of IPython Notebook and Jupyter Notebook. An attacker can accomplish this by crafting a malicious file that triggers a redirect to the 'files/' directory. This vulnerability is related to MIME types and can have severe consequences, including unauthorized code execution and potential compromise of sensitive data.

How To Fix

Latest published version: 7.6.3 as of 22 Oct 2026

pip install --upgrade "notebook==7.6.3"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

9e63dd89b603dfbe3a7e774d8a962ee0fa30c0b5

This is the first release that contains the fix.

pip install --upgrade "notebook==9e63dd89b603dfbe3a7e774d8a962ee0fa30c0b5"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. It is crucial to update to the patched versions of IPython Notebook or Jupyter Notebook as soon as possible to eliminate the risk of remote code execution.

Conclusion

The vulnerability (CVE-2015-7337) in IPython Notebook and Jupyter Notebook allows remote code execution, posing a significant risk to systems and data. To mitigate this vulnerability, it is essential to update to the latest secure versions of these packages. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for notebook →

Share this vulnerability

FAQ

IPython Notebook is an interactive computational environment for creating and sharing documents containing live code, equations, visualizations, and narrative text. It is widely used in data science and scientific computing workflows.

Jupyter Notebook is the successor to IPython Notebook and provides similar functionality. It is a popular tool in the data science community.

The vulnerability arises from a flaw in the editor component of IPython Notebook and Jupyter Notebook. By exploiting this flaw, an attacker can execute arbitrary JavaScript code remotely.

The consequences of this vulnerability can be severe. It allows unauthorized code execution, which can lead to the compromise of sensitive data and unauthorized access to systems.

To protect your system, it is crucial to update IPython Notebook to version 3.2.2 or later, or Jupyter Notebook to version 4.0.5 or later. These updated versions contain the necessary patches to mitigate the remote code execution vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for notebook.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 7.6.3 as of 22 Oct 2026

pip install --upgrade "notebook==7.6.3"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

9e63dd89b603dfbe3a7e774d8a962ee0fa30c0b5

This is the first release that contains the fix.

pip install --upgrade "notebook==9e63dd89b603dfbe3a7e774d8a962ee0fa30c0b5"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback