Server-side Request Forgery (SSRF) Affecting rembg package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-REMBG-9296372
  • published6 Mar 2025
  • disclosed3 Mar 2025
  • creditKevin Stubbings

Introduced: 3 Mar 2025

NewCVE-2025-25301  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

There is no fixed version for rembg.

Overview

rembg is a Remove image background

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the /api/remove endpoint, which takes a URL query parameter to fetch, process, and return images. An attacker can access pictures hosted on the internal network of the server.

CVSS Base Scores

version 4.0
version 3.1