- Accueil
- Vulnérabilités
- CVE-2026-115924
CVE-2026-115924
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
Résumé
Rembg is a tool to remove images background. Prior to 2.0.82, the public /api/remove endpoint passes attacker-controlled extras.sam_model through rembg/commands/s_command.py to rembg/sessions/sam.py, where it is interpolated into SAM filenames and GitHub download URLs passed to pooch.retrieve() without a pinned hash. An unauthenticated attacker can supply a sam_model value combining path traversal with URL fragment syntax to exploit the HTTP request discarding the fragment while the local POSIX path retains it. The first request primes the attacker-selected path tree, and an identical repeated request downloads malicious ONNX encoder and decoder files beside a readable target file. The graphs can load the target through ONNX external data and encode its bytes into the returned PNG mask, disclosing complete files accessible to the rembg process and allowing arbitrary ONNX computation. This issue is fixed in version 2.0.82.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Danielgatis (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Rembg | Versions non précisées | — | CNA (éditeur ou attributeur) |
Pypi (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| rembg | avant 2.0.82 (exclu) |
2.0.82 |
GitHub Advisory |
Correctif
Mise à jour — PyPI/rembg 2.0.82source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-qr6x-7v33-6qmg — Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs 27 oct. 2026
Références
- https://github.com/danielgatis/rembg/security/advisories/GHSA-qr6x-7v33-6qmgexploit
- https://github.com/danielgatis/rembg/commit/b2758c6b39bb2b02df90a03128110339476984d3x_refsource_MISC
- https://github.com/danielgatis/rembg/releases/tag/v2.0.82x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-115924ADVISORY
- https://github.com/danielgatis/rembgPACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-22 · Traversée de chemin / fichiers