AI security incident: Keras: TorchModuleWrapper can deserialize unsafe PyTorch pickle data (GHSA-v2w2-w228-...
Keras: TorchModuleWrapper can deserialize unsafe PyTorch pickle data A vulnerability in keras-team/keras version 3.15.0 allows unsafe deserialization of attacker-controlled PyTorch pickle data through the public keras.layers.TorchModuleWrapper.from config method. This method invokes torch.load(...
Why This Is AI-Related
This page is treated as AI-specific because the source material references keras, which places the issue inside an AI workflow, model, assistant, or supporting dependency rather than a generic software bulletin.
- keras
Affected Workflow
Model registries, artifact scanners, notebook workflows, and CI/CD steps that handle model files need immediate review.
Likely Attack Path
The malicious payload is embedded in model artifacts or serialized objects, then executes or bypasses scanning during load and inspection.
Impact
The advisory affects model artifacts or serialized AI assets, which can bypass inspection or execute during load and validation steps. Severity HIGH. Classification confidence 50%. Source channel GHSA.
Detection And Triage Signals
- New or unsigned model artifacts entering the registry
- Scanner output gaps for pickle or custom model formats
- Unexpected code paths during model loading or validation jobs
Recommended Response
- Inventory model artifacts, serialized objects, and scanners that touch the affected package or workflow.
- Block untrusted model files and revalidate registry, CI, or notebook loading paths before restoring normal operation.
- Review artifact provenance, scanner output, and recent model-ingestion activity for suspicious changes.
Compliance And Business Impact
Model artifact compromise undermines trust in the training and deployment chain and can create stealthy persistence in ML workflows.
Sources
Get weekly AI security updates
Get notified with incident context, likely impact, and response guidance.
Get Notified