ADVISORIES

Vulnerability

CVE-2025-25301

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.

2 advisories report this vulnerability, across 1 ecosystem.

Medium severity PyPI 2

Advisories

  • GHSA-r5gx-c49x-h878

    Rembg allows SSRF via /api/remove

    Moderate CVE-2025-25301 PyPI Updated 9 April 2025
  • PYSEC-2025-24

    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…

    CVE-2025-25301 PyPI Updated 10 June 2026

References