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

Wed, 13 May 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Trusted-ai
Trusted-ai adversarial-robustness-toolbox
Vendors & Products Trusted-ai
Trusted-ai adversarial-robustness-toolbox

Tue, 12 May 2026 18:00:00 +0000

Type Values Removed Values Added
Title Remote Code Execution via Unsanitized eval in ART Kubeflow Component
Weaknesses CWE-94

Tue, 12 May 2026 16:00:00 +0000

Type Values Removed Values Added
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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2026-05-12T00:00:00.000Z

Updated: 2026-05-12T15:20:10.746Z

Reserved: 2026-03-09T00:00:00.000Z

Link: CVE-2026-31228

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-05-12T16:16:14.633

Modified: 2026-05-12T16:16:14.633

Link: CVE-2026-31228

cve-icon Redhat

No data.