MEDIUM · CVSS 6.5 Published: 2025-03-03

CVE-2025-25302 — Technical Security Advisory & CVSS Profile

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.

Technical Metadata

IdentifierCVE-2025-25302
Base Severity / ScoreMEDIUM (6.5 / 10.0)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness ClassificationCWE-346
Archive CategoriesMEDIUM Advisories · 2025 Index

Operational Mitigation Guidance

Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-25306 CRITICAL 9.3
CVE-2025-25298 MEDIUM 5.3
CVE-2025-2533 MEDIUM 5.3
CVE-2025-2534 MEDIUM 5.3
CVE-2025-2536 MEDIUM 6.1
CVE-2025-25363 MEDIUM 6.5
CVE-2025-2541 MEDIUM 6.4