CVE-2026-31228: adversarial-robustness-toolbox · Code Injection
Affects adversarial-robustness-toolboxSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIadversarial-robustness-toolboxpkg:pypi/adversarial-robustness-toolboxOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
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.
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.
References
- github.com/Trusted-AI/adversarial-robustness-toolbox (opens in a new tab)
- notion.so/CVE-2026-31228-35d1e1393188817f9ab0dc4b1651dfe9 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-31228 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2476522 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31228.json (opens in a new tab)