CVE-2025-25301
published medium CVSS 4.0 · 6.9Rembg allows SSRF via /api/remove
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| danielgatis | — | rembg<= 2.0.57 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| danielgatis | rembg | <= 2.0.57 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
1Provider assertions
2GitHub_M · cna
Rembg allows SSRF via /api/remove
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7ebe55b62448c0167138ad8e8e26513bfc6485f5eb562f0a0d3bf92a97a1b04d
- Ingested
- 23 Sep 2026, 08:41:57 UTC
- Source record
- Official CVE record