ADVISORIES

PyPA Advisory Database

PYSEC-2025-24

Details

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

EcosystemPackageAffected versions
PyPIrembg
All versions before 2.0.58 (fixed in 2.0.58)

References