CVE-2025-25302
published high CVSS 4.0 · 8.7Rembg CORS misconfiguration
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 CORS middleware is setup incorrectly. All origins are reflected, which allows any website to send cross site requests to the rembg server and thus query any API. Even if authentication were to be enabled, allow_credentials is set to True, which would allow any website to send authenticated cross site requests.
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
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/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-346 CWE-346: Origin Validation Error
References
2Provider assertions
2GitHub_M · cna
Rembg CORS misconfiguration
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0d08bd5d6f276c0839064cc1d78526eb6f8d5e5b872cc33701eac865650b734e
- Ingested
- 23 Sep 2026, 08:41:57 UTC
- Source record
- Official CVE record