CVE-2025-25301 MEDIUM

CVE-2025-25301: Rembg allows SSRF via /api/remove

Vendor Danielgatis
Product rembg
Weakness CWE-918 · SSRF
Published March 3, 2025
Last update March 3, 2025

CVSS base score

6.9/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N

What the vulnerability does

01Description

Rembg is a tool to remove images background. In Rembg 2.0.57 and earlier, the /api/remove endpoint takes a URL query parameter that allows an image to be fetched, processed and returned. An attacker may be able to query this endpoint to view pictures hosted on the internal network of the rembg server. This issue may lead to Information Disclosure.

Key dates

02Disclosure timeline

March 3, 2025 CVE published
March 3, 2025 Record updated