CVE-2026-31230 Code injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary Python code via unsafe eval() in Kubeflow evaluation scripts, impacting systems running Adversarial Robustness Toolbox.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-31230?

CVE-2026-31230 is a critical code injection vulnerability in n/a, published on 12 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Adversarial Robustness Toolbox (ART) thru 1.20.1 contains a command-line argument injection vulnerability in its Kubeflow component (robustness_evaluation_fgsm_pytorch.py). The script uses the unsafe eval() function to parse string values provided via the --clip_values and --input_shape command-line arguments. This allows an attacker to inject arbitrary Python code into these arguments, which will be executed when eval() is called. The vulnerability can be exploited remotely if an attacker can control these arguments (e.g., through pipeline configuration or automated scripts), leading to arbitrary code execution on the system running the ART evaluation.

Weakness: CWE-94, CWE-88

Which versions are affected by CVE-2026-31230?

How do I fix CVE-2026-31230?

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

There is no known exploitation of CVE-2026-31230 in the wild and no public exploit code.

Sources

Also known as GHSA-24f5-hrhx-3grp.

Is CVE-2026-31230 in your software?

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

Check your SBOMs for free