CVE-2025-25302 HIGH

CVE-2025-25302: Rembg CORS misconfiguration

Vendor Danielgatis
Product rembg
Weakness CWE-346 · Origin validation
Published March 3, 2025
Last update March 3, 2025

CVSS base score

8.7/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 3, 2025 CVE published
March 3, 2025 Record updated