CVE-2026-40086

MEDIUM

Rembg <2.0.75 Custom Model Loading - Path Traversal

Title source: manual
STIX 2.1

Description

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.

Scores

CVSS v3 5.3
EPSS 0.0059
EPSS Percentile 43.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-22 CWE-73
Status published
Products (2)
danielgatis/rembg < 2.0.75 (2 CPE variants)
pypi/rembg 0 - 2.0.75PyPI
Published Apr 10, 2026
Tracked Since Apr 10, 2026