Rembg allows SSRF via /api/remove
Moderate severity
GitHub Reviewed
Published
Mar 11, 2025
to the GitHub Advisory Database
•
Updated Mar 11, 2025
Description
Published by the National Vulnerability Database
Mar 3, 2025
Published to the GitHub Advisory Database
Mar 11, 2025
Reviewed
Mar 11, 2025
Last updated
Mar 11, 2025
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.
References