← back
CVE-2025-25301

Rembg allows SSRF via /api/remove

CVSS 6.9 MEDIUMEPSS 0.5%CWE-918
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.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N
Affected products
danielgatis · rembg

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →