CVE-2024-27321 Refuel Autolab Eval Injection vulnerability

High 7.8 Published Updated

Attackers can execute arbitrary code by providing a malicious CSV file to the Refuel Autolabel library's multilabel classification tasks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-27321?

CVE-2024-27321 is a high-severity code injection vulnerability in Refuel autolabel, published on 12 Sep 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

An arbitrary code execution vulnerability exists in versions 0.0.8 and newer of the Refuel Autolabel library because of the way its multilabel classification tasks handle provided CSV files. If a user creates a multilabel classification task using a maliciously crafted CSV file containing Python code, the code will be passed to an eval function which executes it.

Weakness: CWE-1236, CWE-95

Which versions are affected by CVE-2024-27321?

3 open source packages ship an affected version, including refuel-autolabel. It affects 1 product.

PackageAffectedFixed in
refuel-autolabel PyPIFrom 0.0.8 to 0.0.16None
refuel-autolabel PyPIFrom 0.0.8 to 0.0.16None
refuel-autolabel PyPIFrom 0.0.8 to 0.0.16None

Products include Refuel Autolabel.

How do I fix CVE-2024-27321?

No fix has been published for CVE-2024-27321 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-27321 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-27321 exists.

Sources

Also known as GHSA-4fgp-7vvm-m4jf, PYSEC-2026-1869.

Is CVE-2024-27321 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free