CVE-2026-115924danielgatis rembg
Alta 8.6 Sin autenticación
Seguir: esta CVE · danielgatis · danielgatis rembg Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 67
- CVSS 3.1
- 8.6
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 26 oct 2026
- Actualizada
- 31 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para rembg.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | rembg |
< 2.0.82 |
2.0.82 |
pip install "rembg>=2.0.82" |
Según OSV / GitHub Advisories (GHSA-qr6x-7v33-6qmg). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- danielgatis · rembg
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.