Soumettre #952734: DLR-RM stable-baselines3 v2.9.0 rceinformation

TitreDLR-RM stable-baselines3 v2.9.0 rce
DescriptionThree independent sinks unpickle user-supplied files with no gating parameter and no environment variable: (1) PPO.load — the zip's data member carries base64 ":serialized:" fields decoded by cloudpickle.loads (save_util.py:165); (2) load_replay_buffer — raw pickle.load (save_util.py:370); (3) VecNormalize.load — raw pickle.load (vec_normalize.py:320). Serialized RL artifacts (model zips, replay buffers, normalization stats) are commonly shared, making the file source attacker-controllable in practice. Note the contrast inside load_from_zip_file: PyTorch tensors are loaded with th.load(..., weights_only=True) (save_util.py:442) — the tensor path is hardened while the three pickle/cloudpickle paths stay open. custom_objects cannot help: it replaces dict entries after cloudpickle.loads has already executed; the other APIs take no comparable argument.
La source⚠️ https://github.com/DLR-RM/stable-baselines3/issues/2281
Utilisateur
 __lbz__ (UID 100868)
Soumission29/08/2026 08:02 (il y a 22 jours)
Modérer20/09/2026 10:39 (22 days later)
StatutAccepté
Entrée VulDB408021 [DLR-RM stable-baselines3 jusqu’à 2.9.0 save_util.py PPO.load/load_replay_buffer/VecNormalize.load élévation de privilèges]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!