← back
CVE-2026-40086

Rembg has a Path Traversal via Custom Model Loading

CVSS 5.3 MEDIUMEPSS 0.6%CWE-22CWE-73
Vexday Risk Score
13Low
SSVC decision (CISA)
Track
No exploitation signal → monitor
CVSS 5.3EPSS 0.6%KEV nãoPoC Nuclei Metasploit Patch
Lifecycle
10 Apr 2026Published on NVD
Recommendation: Monitor — no exploitation signal at the moment.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected products
danielgatis · rembg

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →