6.9Medium

CVE-2025-25301Rembg allows SSRF via /api/remove

danielgatis rembg Published: (1 year ago)

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

VendorProductVersions
danielgatis rembg <= 2.0.57

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:danielgatis:rembg:*:*:*:*:*:*:*:* ≤ 2.0.57