CVE-2025-25301CWE-918

Rembg allows SSRF via /api/remove

Medium · published March 3, 2025

CVSS v4.0
6.9
EPSS
1%
Percentile
43.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
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
EPSS
0.00526 · 43.7th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2025-03-03T16:36Z
EPSS history
Timeline
  • 03 MAR 16:36Z
    Rembg allows SSRF via /api/remove
    cvelistv5