CVE-2026-40086

Rembg is a tool to remove images background. Prior to 2.0.75, a path traversal vulnerability in the rembg HTTP server allows unauthenticated remote attackers to read arbitrary files from the server's filesystem. By sending a crafted request with a malicious model_path parameter, an attacker can force the server to attempt loading any file as an ONNX model, revealing file existence, permissions, and potentially file contents through error messages. This vulnerability is fixed in 2.0.75.
Configurations

Configuration 1 (hide)

cpe:2.3:a:danielgatis:rembg:*:*:*:*:*:*:*:*

History

26 Oct 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) Rembg es una herramienta para eliminar el fondo de imágenes. Antes de la 2.0.75, una vulnerabilidad de salto de ruta en el servidor HTTP de rembg permite a atacantes remotos no autenticados leer archivos arbitrarios del sistema de archivos del servidor. Al enviar una solicitud manipulada con un parámetro model_path malicioso, un atacante puede forzar al servidor a intentar cargar cualquier archivo como un modelo ONNX, revelando la existencia del archivo, los permisos y, potencialmente, el contenido del archivo a través de mensajes de error. Esta vulnerabilidad está corregida en la 2.0.75.

Information

Published : 2026-04-10 17:17

Updated : 2026-10-26 22:10


NVD link : CVE-2026-40086

Mitre link : CVE-2026-40086

CVE.ORG link : CVE-2026-40086


JSON object : View

Products Affected

danielgatis

  • rembg
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-73

External Control of File Name or Path