TL;DR: An AI agent autonomously found CVE-2026-0773, a 9.8 remote code execution flaw in cloudpickle-based AI infrastructure, by exploring APIs, sequencing operations, and generating context-aware payloads, according to Equixly. The case reinforces that serialized model files and internal ML APIs must be treated as executable code, not trusted data, because conventional scanners often miss binary deserialization paths.
Editorial analysis by NHI Mgmt Group, based on content published by Equixly: “Can AI identify 0-days?”.
By the numbers:
- CVE-2026-0773 is a critical remote code execution vulnerability with a CVSS score of 9.8.
Key questions
Q: What breaks when ML systems unpickle untrusted data?
A: The loader stops being a parser and becomes an execution path.
Q: Why do unsafe deserialization bugs in ML infrastructure create remote code execution risk?
A: Because the deserializer is allowed to rebuild Python objects, not just read bytes.
Q: What are the signs that an ML API may be accepting dangerous serialized input?
A: Look for binary request bodies, unusual error messages such as unpickling failures, endpoints that accept model or processor registration objects, and services that load cached artefacts without validating provenance.
Practitioner guidance
- Classify pickle-based loaders as execution boundaries Inventory every place your ML stack uses pickle, cloudpickle, torch.load, joblib, or similar object reconstruction and treat each as a code-execution surface.
- Move model distribution to inert formats Use safetensors, ONNX, JSON, YAML, or protocol buffers where the use case allows, and reserve object serialisation only for tightly controlled internal workflows.
- Gate serialized artefacts with provenance and signing Require signed model files, verify source integrity before load, and reject artefacts arriving through shared caches, CI jobs, or third-party model repositories.
Bottom line: Unsafe deserialization turns ML loaders into execution boundaries, which is why model artefacts and cached objects must be governed like code.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Unsafe deserialization is an ML governance failure, not just a coding mistake. Teams often treat model artefacts as data because they sit inside AI workflows, but pickle-based formats can execute during load. That means the control problem starts with trust classification, provenance, and permitted loaders, not with later-stage detection. Practitioners should stop assuming that a model file is harmless because it came from an internal system.
A question worth separating out:
Q: Should teams use pickle or cloudpickle for model loading in production?
A: Only when there is no viable alternative and the input source is fully controlled, signed, and tightly isolated. For most production uses, inert formats are safer because they separate data from executable behaviour. Where object serialisation remains necessary, load paths should be sandboxed and treated like privileged code.
👉 Read our full editorial: AI agent testing exposes unsafe deserialization risks in ML systems