VULNERABILITY INTELLIGENCE

CVE-2026-31228

CVSS score9.8 CRITICAL
EPSS probability0.61%
CISA KEVNot currently listed
Published2026-05-12
Last modified2026-10-19
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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 classification

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Primary references