All reports
High

Rembg CORS misconfiguration

Affected versions

Version ranges need review.

PyPIrembg
Affected versions
<2.0.58
Fixed version
2.0.58
PyPIrembg
Affected versions
<= 2.0.57
Fixed version
Not reported

Exploitation

CVE-2025-25302

Probability of exploitation in the next 30 days: 0.19%

FIRST EPSS · 2026-11-22

Description

Rembg is a tool to remove images background. In Rembg 2.0.57 and earlier, the CORS middleware is setup incorrectly. All origins are reflected, which allows any website to send cross site requests to the rembg server and thus query any API. Even if authentication were to be enabled, allow_credentials is set to True, which would allow any website to send authenticated cross site requests.

Links