CVE-2015-5607: Cross-site request forgery in IPython REST API

ipython Updated 02 Oct 2025

Summary

20/09/2017
Yes i
High
8.8

CVE-2015-5607: Cross-site request forgery in the REST API in IPython 2 and 3. Affects ipython across 3 version ranges.

< 3.2.1 < 1415a9710407e7c14900531813c15ba6165f0816 < a05fe052a18810e92d9be8c1185952c13fe4e5b0

Fixed in a05fe052a18810e92d9be8c1185952c13fe4e5b0. How to fix ↓

Also tracked for

The same CVE-2015-5607 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 is an interactive computing environment for Python that provides a powerful shell, a kernel for Jupyter notebooks, and other tools for scientific computing. It allows users to execute code, access documentation, and perform data analysis. The REST API in IPython 2 and 3 is vulnerable to cross-site request forgery (CSRF) attacks.

Vulnerability Detail

The vulnerability in the IPython REST API allows an attacker to trick authenticated users into performing unintended actions on their behalf. By crafting a malicious request and enticing a user to visit a specially crafted webpage or click on a malicious link, the attacker can execute arbitrary actions on the user's behalf, potentially leading to unauthorized access, data leakage, or other malicious activities.

How To Fix

Minimum fixed version

a05fe052a18810e92d9be8c1185952c13fe4e5b0

This is the first release that contains the fix.

pip install --upgrade "ipython==a05fe052a18810e92d9be8c1185952c13fe4e5b0"

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

Workaround

There is no specific workaround available for this vulnerability. It is recommended to apply the fix mentioned above.

Conclusion

The IPython REST API vulnerability (CVE-2015-5607) allows for cross-site request forgery attacks, potentially leading to unauthorized access or data leakage. It is crucial to upgrade to a fixed version of IPython and apply the necessary patches to mitigate the risk. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for ipython →

Share this vulnerability

FAQ

IPython is an interactive computing environment for Python that provides a powerful shell, a kernel for Jupyter notebooks, and other tools for scientific computing.

A CSRF attack is an attack that tricks the victim into submitting a malicious request. In the case of IPython, it allows an attacker to perform actions on behalf of an authenticated user without their consent.

You can use the Vulert Playground at Vulert Scanner to check if your IPython installation is affected by this vulnerability. Simply provide your Pipfile.lock and it will alert you in real-time for any open-source vulnerabilities.

There are no known public exploits for this vulnerability at the time of writing. However, it is important to apply the fix as soon as possible to prevent any potential attacks.

For further support on vulnerability remediation, you can contact info@devnack.com. They can provide assistance and guidance on fixing the vulnerability in your IPython installation.

Related vulnerabilities

Recent vulnerabilities recorded for ipython.

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

Minimum fixed version

a05fe052a18810e92d9be8c1185952c13fe4e5b0

This is the first release that contains the fix.

pip install --upgrade "ipython==a05fe052a18810e92d9be8c1185952c13fe4e5b0"

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