Skip to main content
EPSS 0.6%top 53%

CVE-2026-31228: n/a

0
Critical
VulnerabilityCVE-2026-31228cvecve-2026-31228gcvecwe-94
Published: 05/12/2026 (05/12/2026, 00:00:00 UTC)
Source: CVE Database V5

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

adversarial-robustness-toolbox
pkg:pypi/adversarial-robustness-toolbox
Affected versions
<=1.20.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/11/2026, 13:22:05 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses