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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/danielgatis/rembg/commit/7c76d3cdc5757ffbda6a76664b24cfbecdb80273 Patch
- https://github.com/danielgatis/rembg/security/advisories/GHSA-3wqj-33cg-xc48 Exploit, Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.3 · danielgatisNVD modified 2026-10-26 22:10
Affected (CPE criteria) 1
cpe:2.3:a:danielgatis:rembg:*:*:*:*:*:*:*:*
References 3
- https://github.com/danielgatis/rembg/commit/7c76d3cdc5757ffbda6a76664b24cfbecdb80273 Patch
- https://github.com/danielgatis/rembg/releases/tag/v2.0.75 Product, Release Notes
- https://github.com/danielgatis/rembg/security/advisories/GHSA-3wqj-33cg-xc48 Exploit, Mitigation, Vendor Advisory