PyPI: refuel-autolabel

CVE-2024-27320

Safety vulnerability ID: SFTY-20240912-06843

Safety legacy ID: pyup.io-73325

The Refuel Autolabel library affected versions contain an arbitrary code execution vulnerability in its classification task handler. When processing CSV files for these tasks, the library uses an unsafe eval() function to interpret values enclosed in square brackets. Attackers can exploit this vulnerability by crafting malicious CSV files containing Python code within these brackets. Upon processing such a file, the library will execute the embedded code, potentially compromising the system. Users should exercise extreme caution when handling external CSV files and avoid using this feature until the developers patch the vulnerability.

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

Overview

Refuel Autolab Eval Injection vulnerability

Advisory

The Refuel Autolabel library affected versions contain an arbitrary code execution vulnerability in its classification task handler. When processing CSV files for these tasks, the library uses an unsafe eval() function to interpret values enclosed in square brackets. Attackers can exploit this vulnerability by crafting malicious CSV files containing Python code within these brackets. Upon processing such a file, the library will execute the embedded code, potentially compromising the system. Users should exercise extreme caution when handling external CSV files and avoid using this feature until the developers patch the vulnerability.

Affected Package

Affecting refuel-autolabel package, versions>=0.0.8

Also affects

---

How to Fix

Upgraderefuel-autolabelto0.0.1or 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