WeaknessASC-2026-0062Other weakness
Unsafe deserialization beyond pickle
MediumMitigated
joblib files, numpy allow_pickle, Keras Lambda layers and bugs in model format parsers can all run code or crash services when a crafted file is loaded.
How to detect it
- Loading .joblib, .npy with allow_pickle, or Keras models with Lambda layers
- Parsers for model formats on old versions
How to resolve it
- Prefer safetensors and formats without code
- Enable safe mode in Keras and keep parsers updated
- Load untrusted files in an isolated process
How to investigate
- Identify the file and where it came from
- Check the loading host for unexpected activity