CVE-2026-31228

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.
Configurations

No configuration.

History

30 Jun 2026, 03:18

Type Values Removed Values Added
References
  • () https://access.redhat.com/security/cve/CVE-2026-31228 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2476522 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31228.json -

13 May 2026, 15:52

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CWE CWE-94

12 May 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-12 16:16

Updated : 2026-07-15 02:19


NVD link : CVE-2026-31228

Mitre link : CVE-2026-31228

CVE.ORG link : CVE-2026-31228


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')