VYPR
Moderate severityNVD Advisory· Published Mar 3, 2025· Updated Mar 3, 2025

Rembg allows SSRF via /api/remove

CVE-2025-25301

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
rembgPyPI
<= 2.0.57

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.