- Accueil
- Vulnérabilités
- CVE-2026-31239
CVE-2026-31239
The mamba language model framework thru 2.2.6 is vulnerable to insecure deserialization (CWE-502) when…
Résumé
The mamba language model framework thru 2.2.6 is vulnerable to insecure deserialization (CWE-502) when loading pre-trained models from HuggingFace Hub. The MambaLMHeadModel.from_pretrained() method uses torch.load() to load the pytorch_model.bin weight file without enabling 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 publishing a malicious model repository on HuggingFace Hub. When a victim loads a model from this repository, arbitrary code is executed on the victim's system in the context of the mamba process.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Pypi (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| mamba-ssm | jusqu’à 2.2.6 (inclus) |
— | GitHub Advisory |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-pq2f-x424-6fjm — mamba language model framework vulnerable to insecure deserialization when loading pre-trained models from HuggingFace Hub 12 mai 2026
Références
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- NVD
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)- Faiblesse
- CWE-502 · Désérialisation