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 critical remote code execution vulnerability in the Adversarial Robustness Toolbox (ART) through version 1.20.1. The issue is in the Kubeflow component's robustness evaluation function for PyTorch models, which unsafely uses Python's eval() function to dynamically evaluate user-supplied strings for LossFn and Optimizer parameters without any sanitization or security restrictions. This allows an attacker to execute arbitrary Python code remotely, resulting in complete compromise of the system running the ART evaluation. The vulnerability is identified as CWE-94 (Improper Control of Generation of Code). The CVSS v3.1 base score is 9.8, reflecting its critical severity with network attack vector, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. There is no explicit remediation level or patch information provided in the vendor advisory, and no known exploits in the wild have been reported as of the publication date.
Potential Impact
Successful exploitation allows an unauthenticated remote attacker to execute arbitrary Python code on the system running the ART evaluation, leading to full system compromise. This includes complete loss of confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-31228 for current remediation guidance. Until an official fix is available, avoid using the affected versions of ART in environments where untrusted input can reach the Kubeflow component's robustness evaluation function. Restrict access to the affected functionality and monitor for suspicious activity related to ART usage.
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 critical remote code execution vulnerability in the Adversarial Robustness Toolbox (ART) through version 1.20.1. The issue is in the Kubeflow component's robustness evaluation function for PyTorch models, which unsafely uses Python's eval() function to dynamically evaluate user-supplied strings for LossFn and Optimizer parameters without any sanitization or security restrictions. This allows an attacker to execute arbitrary Python code remotely, resulting in complete compromise of the system running the ART evaluation. The vulnerability is identified as CWE-94 (Improper Control of Generation of Code). The CVSS v3.1 base score is 9.8, reflecting its critical severity with network attack vector, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. There is no explicit remediation level or patch information provided in the vendor advisory, and no known exploits in the wild have been reported as of the publication date.
Potential Impact
Successful exploitation allows an unauthenticated remote attacker to execute arbitrary Python code on the system running the ART evaluation, leading to full system compromise. This includes complete loss of confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-31228 for current remediation guidance. Until an official fix is available, avoid using the affected versions of ART in environments where untrusted input can reach the Kubeflow component's robustness evaluation function. Restrict access to the affected functionality and monitor for suspicious activity related to ART usage.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-03-09T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
- 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: 07/15/2026, 08:54:14 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 60
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.