Medium severity · published Mar 3, 2025
CVE-2025-25302
Rembg CORS misconfiguration
6.5
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 9% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RE
rembg · danielgatis
<= 2.0.57 · source: vendor, NVD
Affected product
RE
rembg
danielgatis
More from rembg
8.6
CVE-2026-115924
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
7.5
CVE-2025-25301
Rembg allows SSRF via /api/remove
5.3
CVE-2026-40086
Rembg has a Path Traversal via Custom Model Loading