CVE-2026-31230 Details
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.
A command-line argument injection vulnerability has been identified in the Adversarial Robustness Toolbox (ART) versions through 1.20.1, specifically within the Kubeflow component's script 'robustness_evaluation_fgsm_pytorch.py'. The vulnerability arises because the script uses the unsafe 'eval()' function to process string values from the '--clip_values' and '--input_shape' command-line arguments. This flaw enables an attacker to inject arbitrary Python code into these arguments, which will be executed when 'eval()' is invoked. The vulnerability can be exploited remotely if an attacker can manipulate these arguments, such as through pipeline configuration or automated scripts, leading to arbitrary code execution on the system running the ART evaluation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 12, 2026CISA-ADP
Assessed May 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-31230 | redhat-SADP | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2476634 | redhat-SADP | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31230.json | redhat-SADP | |
| https://github.com/Trusted-AI/adversarial-robustness-toolbox | [email protected] | ProductSource CodeVendor |
| https://www.notion.so/CVE-2026-31230-35d1e13931888126b624d12769c0e040 | [email protected] | Not Applicable |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-88 | Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') | CISA-ADP |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | redhat-SADP |
Affected Products
| Product | Versions |
|---|---|
| Trusted-AI Adversarial Robustness Toolbox | All versions |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 11, 2026 | CVE Modified | redhat-SADP |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 13, 2026 | CVE Modified | CISA-ADP |
| May 12, 2026 | New CVE Received | [email protected] |
Volerion