CVE-2025-25302

MEDIUM

Rembg <2.0.57 - SSRF

Title source: llm

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 11.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Classification

CWE
CWE-346
Status published

Affected Products (2)

danielgatis/rembg < 2.0.57
pypi/rembg PyPI

Timeline

Published Mar 03, 2025
Tracked Since Feb 18, 2026