6.9Medium
CVE-2025-25301Rembg allows SSRF via /api/remove
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.
Weakness (CWE):
CWE-918
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| danielgatis | rembg | <= 2.0.57 |
References and patches
- https://securitylab.github.com/advisories/GHSL-2024-161_GHSL-2024-162_rembg/ ExploitThird Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:danielgatis:rembg:*:*:*:*:*:*:*:*≤ 2.0.57