CVE-2024-27320 Refuel Autolab Eval Injection vulnerability

High 7.8 Published Updated

Attackers can execute arbitrary code by tricking users into processing malicious CSV files in the Refuel Autolabel library.

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-27320?

CVE-2024-27320 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 classification tasks handle provided CSV files. If a victim user creates a 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-27320?

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-27320?

No fix has been published for CVE-2024-27320 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-27320 being exploited?

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

Sources

Also known as GHSA-g2m8-f3x2-qprw, PYSEC-2026-1870.

Is CVE-2024-27320 in your software?

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

Check your SBOMs for free