Moderate severityNVD Advisory· Published Mar 3, 2025· Updated Mar 3, 2025
Rembg allows SSRF via /api/remove
CVE-2025-25301
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
rembgPyPI | <= 2.0.57 | — |
Affected products
2- Range: <= 2.0.57
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-r5gx-c49x-h878ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-25301ghsaADVISORY
- securitylab.github.com/advisories/GHSL-2024-161_GHSL-2024-162_rembgghsaADVISORY
- securitylab.github.com/advisories/GHSL-2024-161_GHSL-2024-162_rembg/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.