Advisory record · GHSA-r5gx-c49x-h878

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 attacke...

CVSS 6.9 MediumEPSS 0.0052 · 44th percentile

Published by the GitHub Advisory Database at 3 Mar 2025, 17:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
rembgPyPI<2.0.582.0.58
Identifiers
GHSA-r5gx-c49x-h878 · CVE-2025-25301 · PYSEC-2025-24
Weakness (CWE)
CWE-918
Published
3 Mar 2025
Updated
10 Jun 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Rembg versions before 2.0.58 are vulnerable. The /api/remove endpoint accepts a URL parameter and fetches the image at that address, so an attacker with network access to the server can use it to view images hosted on the server's internal network, leading to information disclosure. Upgrade rembg to version 2.0.58 or later. The source gives few details about any workaround.

Written 10 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.9 Medium 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0052, the 44th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the GitHub Advisory Database, published 3 Mar 2025. New records show when each source confirmed them.

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.