CVE-2025-25301Published Mar 3, 2025 · Mar 3Updated Oct 28
Rembg allows SSRF via /api/remove
danielgatis rembg
Medium6.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| rembg PyPI |
|
|
Original description
Rembg is a tool to remove images background. In Rembg 2.0.57 and earlier, the /api/remove endpoint takes a URL query parameter that allows an image to be fetched, processed and returned. An attacker may be able to query this endpoint to view pictures hosted on the internal network of the rembg server. This issue may lead to Information Disclosure.
From the CVE record · GitHub_M