PyPI: aim

CVE-2024-2196

Safety vulnerability ID: SFTY-20240410-42912

Safety legacy ID: pyup.io-71905

Affected versions of the aim package are vulnerable to Cross-Site Request Forgery (CSRF) due to the absence of CSRF tokens and CORS protection in the dashboard. The aim dashboard fails to implement proper request validation mechanisms, allowing cross-origin requests to perform state-changing operations without verifying the request's authenticity.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

Aim Cross-Site Request Forgery vulnerability allows user to delete runs and perform other operations

Advisory

Affected versions of the aim package are vulnerable to Cross-Site Request Forgery (CSRF) due to the absence of CSRF tokens and CORS protection in the dashboard. The aim dashboard fails to implement proper request validation mechanisms, allowing cross-origin requests to perform state-changing operations without verifying the request's authenticity.

Affected Package

Affecting aim package, versions<=3.17.5

Also affects

---

How to Fix

Upgradeaimto3.18.0.dev2or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more