CVE-2025-25302

MEDIUM

Rembg <2.0.57 - SSRF

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 6.5
EPSS 0.0004
EPSS Percentile 12.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-346
Status published
Products (2)
danielgatis/rembg < 2.0.57
pypi/rembg 0PyPI
Published Mar 03, 2025
Tracked Since Feb 18, 2026