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.
CVE ID: CVE-2025-25302
CVSS Base Severity: HIGH
CVSS Base Score: 8.7
CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Vendor: danielgatis
Product: rembg
EPSS Score: 0.01% (probability of being exploited)
EPSS Percentile: 0.44% (scored less or equal to compared to others)
EPSS Date: 2025-04-01 (when was this score calculated)