CVE-2025-25302CWE-346

Rembg CORS misconfiguration

High · published March 3, 2025

CVSS v4.0
8.7
EPSS
0%
Percentile
8.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
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
EPSS
0.00195 · 8.7th percentile
Weakness
CWE-346 · Origin Validation Error
Published
2025-03-03T16:40Z
EPSS history
Timeline
  • 03 MAR 16:40Z
    Rembg CORS misconfiguration
    cvelistv5