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.
Published: 2026-05-12
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Adversarial Robustness Toolbox (ART) through version 1.20.1 allows command‑line argument injection via its Kubeflow component, robustness_evaluation_fgsm_pytorch.py. The script uses an unsafe eval() call to parse the values supplied to the --clip_values and --input_shape arguments, enabling an attacker to execute arbitrary Python code when the script runs. This flaw can result in full system compromise if exploited on a machine where the ART evaluation is performed.

Affected Systems

The vulnerability affects the Adversarial Robustness Toolbox, specifically the Kubeflow component robustness_evaluation_fgsm_pytorch.py in releases up to and including 1.20.1. The flaw is tied to the command‑line handling of the --clip_values and --input_shape parameters.

Risk and Exploitability

Because the code is executed by the script itself, any attacker who can control the command‑line arguments—such as through a compromised pipeline configuration or a malicious automated script—can achieve arbitrary code execution. The CVSS score of 9.8 indicates a critical severity, and the EPSS score of <1% suggests a low but non‑zero exploitation probability. The vulnerability is not listed in CISA’s KEV catalog. The risk is remote but requires the attacker to provide the vulnerable arguments; therefore, exposure is limited to environments where ART is executed under user‑supplied configurations.

Generated by OpenCVE AI on May 13, 2026 at 20:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Adversarial Robustness Toolbox to the latest release where the eval() usage is removed or patched.
  • Restrict execution of robustness_evaluation_fgsm_pytorch.py to trusted users and control access to the pipeline configurations that supply command‑line arguments.
  • Sanitize or validate the values of --clip_values and --input_shape before passing them to eval() or replace eval() with a safer parser.
  • Disable or remove the Kubeflow component if it is not required for your use case.

Generated by OpenCVE AI on May 13, 2026 at 20:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Title Arbitrary Code Execution via Command-Line Argument Injection in ART Kubeflow Evaluation Script

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

Type Values Removed Values Added
Title Command‑Line Argument Injection in Adversarial Robustness Toolbox Enables Arbitrary Code Execution
Weaknesses CWE-20
CWE-94

Wed, 13 May 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-88
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


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 19:00:00 +0000

Type Values Removed Values Added
Title Command‑Line Argument Injection in Adversarial Robustness Toolbox Enables Arbitrary Code Execution
Weaknesses CWE-20
CWE-94

Tue, 12 May 2026 17:30:00 +0000

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

Subscriptions

Trusted-ai Adversarial-robustness-toolbox
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-05-13T14:24:23.334Z

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

Link: CVE-2026-31230

cve-icon Vulnrichment

Updated: 2026-05-13T14:24:18.266Z

cve-icon NVD

Status : Deferred

Published: 2026-05-12T18:16:51.277

Modified: 2026-05-13T16:16:39.053

Link: CVE-2026-31230

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-13T20:45:04Z

Weaknesses