VDB
Sign up
HIGH7.5

PYSEC-2025-24

Quick fix

PYSEC-2025-24 — rembg: upgrade to the fixed version with the command below.

pip install --upgrade 'rembg>=2.0.58'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/rembg
Introduced in: 0Fixed in: 2.0.58
Fixpip install --upgrade 'rembg>=2.0.58'

References