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.
History

Tue, 04 Mar 2025 03:45:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 03 Mar 2025 17:00:00 +0000

Type Values Removed Values Added
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.
Title Rembg CORS misconfiguration
Weaknesses CWE-346
References
Metrics cvssV4_0

{'score': 8.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-03-03T16:40:34.811Z

Updated: 2025-03-03T17:55:31.580Z

Reserved: 2025-02-06T17:13:33.123Z

Link: CVE-2025-25302

cve-icon Vulnrichment

Updated: 2025-03-03T17:55:26.015Z

cve-icon NVD

Status : Received

Published: 2025-03-03T17:15:14.920

Modified: 2025-03-03T17:15:14.920

Link: CVE-2025-25302

cve-icon Redhat

No data.