CVE-2026-31228 Code injection in n/a
Attackers can execute arbitrary Python code via unsanitized eval() calls in the Kubeflow component, compromising the system.
- 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-31228?
CVE-2026-31228 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 remote code execution vulnerability in its Kubeflow component. The robustness evaluation function for PyTorch models uses the unsafe eval() function to dynamically evaluate user-supplied strings for the LossFn and Optimizer parameters without any sanitization or security restrictions. An attacker can exploit this by providing a specially crafted string that contains arbitrary Python code, which will be executed when eval() is called, leading to complete compromise of the system running the ART evaluation.
Weakness: CWE-94
Which versions are affected by CVE-2026-31228?
How do I fix CVE-2026-31228?
No fix has been published for CVE-2026-31228 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-31228 being exploited?
There is no known exploitation of CVE-2026-31228 in the wild and no public exploit code.
Sources
Also known as GHSA-8r6g-7rr9-mx32.