Ad

CVE-2026-40086

MEDIUM CVSS 3.1: 5.3 EPSS 0.05%
Updated Apr 10, 2026
Rembg
Parameter Value
CVSS 5.3 (MEDIUM)
Fixed In 2.0.75
Type CWE-22 (Path Traversal), CWE-73 (External Control of File Name or Path)
Vendor Rembg
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1