CVE-2025-25301 Details
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.
A server-side request forgery (SSRF) vulnerability has been identified in Rembg versions through 2.0.57. The vulnerability exists in the '/api/remove' endpoint, which processes images by fetching them from a provided URL. An attacker could exploit this feature to access and retrieve images from the internal network of the Rembg server, potentially leading to unauthorized information disclosure.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://securitylab.github.com/advisories/GHSL-2024-161_GHSL-2024-162_rembg/ | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| danielgatis rembg | <= 2.0.57 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 7, 2025 | Initial Analysis | [email protected] |
| Mar 3, 2025 | New CVE Received | [email protected] |