CVE-2025-25302 – rembg
Package
Manager: pip
Name: rembg
Vulnerable Version: >=0 <=2.0.57
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C
CVSS v4.0: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.00012 pctl0.01136
Details
Rembg CORS misconfiguration 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.
Metadata
Created: 2025-03-11T21:32:43Z
Modified: 2025-03-11T21:32:43Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-59qh-fmm7-3g9q/GHSA-59qh-fmm7-3g9q.json
CWE IDs: ["CWE-346"]
Alternative ID: GHSA-59qh-fmm7-3g9q
Finding: F086
Auto approve: 1