CVE-2026-31228
published critical CVSS 3.1 · 9.8adversarial-robustness-toolbox: kubeflow: Adversarial Robustness Toolbox (ART) Kubeflow: Remote code execution via unsanitized user input
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Red Hat | — | rhoai/odh-kserve-agent-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-kserve-controller-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-kserve-router-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-kserve-storage-initializer-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
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.
A flaw was found in the Adversarial Robustness Toolbox (ART), specifically within its Kubeflow component. The robustness evaluation function for PyTorch models uses the `eval()` function to dynamically evaluate user-supplied strings for the LossFn and Optimizer parameters without proper sanitization. A remote attacker can exploit this by providing a specially crafted string containing arbitrary Python code, leading to remote code execution and complete compromise of the system running the ART evaluation.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
Weaknesses
3- n/a
- CWE-94 Improper Control of Generation of Code ('Code Injection')
- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
5- https://access.redhat.com/security/cve/CVE-2026-31228
- RHBZ#2476522 https://bugzilla.redhat.com/show_bug.cgi?id=2476522
- https://github.com/Trusted-AI/adversarial-robustness-toolbox
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31228.json
- https://www.notion.so/CVE-2026-31228-35d1e1393188817f9ab0dc4b1651dfe9
Provider assertions
3mitre · cna
redhat-SADP · adp
adversarial-robustness-toolbox: kubeflow: Adversarial Robustness Toolbox (ART) Kubeflow: Remote code execution via unsanitized user input
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 881826c7fd6125d73c78cfe76e878d2c3cc471956d8673e4f98c980fc945537e
- Ingested
- 23 Sep 2026, 09:09:24 UTC
- Source record
- Official CVE record