CVE-2026-144575: rembg through 2.0.88 SSRF Filter Bypass via /api/remove
rembg through 2.0.88 contains a server-side request forgery filter bypass that allows unauthenticated attackers to reach internal hosts via the /api/remove URL parameter because isblockedip() does not block the 100.64.0.0/10 shared address range. Attackers can supply literal addresses, resolving hostnames, or redirects into that range to query carrier-grade NAT and cloud-internal services, including the Alibaba Cloud metadata service.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments of rembg through 2.0.88 are exposed if the /api/remove endpoint is reachable by an unauthenticated attacker. The issue affects the endpoint's URL parameter handling.
What does an attacker need to exploit it?
An attacker only needs network access to /api/remove; no authentication or user interaction is required. They can provide a literal address, a hostname that resolves into 100.64.0.0/10, or a redirect targeting that range.
What internal resources could be reached?
The bypass can be used to query hosts in the 100.64.0.0/10 shared address range, including carrier-grade NAT and cloud-internal services. The described impact specifically includes the Alibaba Cloud metadata service.
How can I determine whether an attempted attack occurred?
Review requests to /api/remove for URL parameters containing 100.64.0.0/10 addresses, hostnames resolving to that range, or URLs that redirect there. Also investigate outbound requests from the rembg service to addresses in that range.