CVE-2026-31228: n/a
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.
AI Analysis
Technical Summary
CVE-2026-31228 is a remote code execution vulnerability in the Adversarial Robustness Toolbox (ART) Kubeflow component through version 1.20.1. The flaw is due to the use of the unsafe eval() function to dynamically evaluate user-supplied strings for the LossFn and Optimizer parameters without sanitization. This allows an attacker to provide specially crafted input strings containing arbitrary Python code, which is executed by eval(), resulting in full compromise of the system running the ART evaluation. The vulnerability is tracked under CWE-94 (Improper Control of Generation of Code). Red Hat has published an advisory confirming the vulnerability in their OpenShift AI deployment but currently has no available fix or mitigation that meets their product security criteria.
Potential Impact
Successful exploitation allows an unauthenticated remote attacker to execute arbitrary Python code on the affected system, leading to complete compromise including full confidentiality, integrity, and availability impact. This can result in total control over the system running the ART evaluation, potentially allowing data theft, system manipulation, or denial of service.
Mitigation Recommendations
As per the Red Hat advisory, no official fix or mitigation currently meets their criteria for deployment and stability. Users should monitor the vendor advisory for updates. Until a fix is available, avoid exposing the affected ART Kubeflow component to untrusted users or networks. Consider restricting access and applying compensating controls where possible. Engage with Red Hat support or Technical Account Managers for guidance.
CVE-2026-31228: n/a
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.
CVSS v3.1
Score 9.8critical
Affected software
pkg:pypi/adversarial-robustness-toolboxRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-31228 is a remote code execution vulnerability in the Adversarial Robustness Toolbox (ART) Kubeflow component through version 1.20.1. The flaw is due to the use of the unsafe eval() function to dynamically evaluate user-supplied strings for the LossFn and Optimizer parameters without sanitization. This allows an attacker to provide specially crafted input strings containing arbitrary Python code, which is executed by eval(), resulting in full compromise of the system running the ART evaluation. The vulnerability is tracked under CWE-94 (Improper Control of Generation of Code). Red Hat has published an advisory confirming the vulnerability in their OpenShift AI deployment but currently has no available fix or mitigation that meets their product security criteria.
Potential Impact
Successful exploitation allows an unauthenticated remote attacker to execute arbitrary Python code on the affected system, leading to complete compromise including full confidentiality, integrity, and availability impact. This can result in total control over the system running the ART evaluation, potentially allowing data theft, system manipulation, or denial of service.
Mitigation Recommendations
As per the Red Hat advisory, no official fix or mitigation currently meets their criteria for deployment and stability. Users should monitor the vendor advisory for updates. Until a fix is available, avoid exposing the affected ART Kubeflow component to untrusted users or networks. Consider restricting access and applying compensating controls where possible. Engage with Red Hat support or Technical Account Managers for guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-03-09T00:00:00.000Z
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-31228","vendor":"Red Hat"}]
Threat ID: 6a034c88cbff5d8610fea6df
Added to database: 05/12/2026, 15:51:36 UTC
Last enriched: 08/11/2026, 13:22:05 UTC
Last updated: 09/13/2026, 22:01:33 UTC
Views: 77
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.