CVE-2026-31229 Deserialization in n/a

Critical 9.8 Published Updated

An attacker can achieve remote code execution by uploading a malicious model file that triggers unsafe deserialization in the Kubeflow component.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-31229?

CVE-2026-31229 is a critical unsafe deserialization vulnerability in n/a, published on 12 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Adversarial Robustness Toolbox (ART) thru 1.20.1 contains an insecure deserialization vulnerability (CWE-502) in its Kubeflow component's model loading functionality. When loading model weights from a file (e.g., model.pt) during robustness evaluation, the code uses torch.load() without the security-restrictive weights_only=True parameter. This allows the deserialization of arbitrary Python objects via the Pickle module. An attacker can exploit this by uploading a maliciously crafted model file to an object storage location referenced by the pipeline, or by controlling the model_id parameter to point to such a file. When the pipeline loads the model, the malicious payload is executed, leading to remote code execution.

Weakness: CWE-502

Which versions are affected by CVE-2026-31229?

How do I fix CVE-2026-31229?

No fix has been published for CVE-2026-31229 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2026-31229 being exploited?

There is no known exploitation of CVE-2026-31229 in the wild and no public exploit code.

Sources

Also known as GHSA-wg3p-6q3h-p6w7.

Is CVE-2026-31229 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free