PyPi: Rembg

CVE-2025-25302

Safety vulnerability ID: 76310

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Mar 03, 2025 Updated at Mar 28, 2025
Scan your Python projects for vulnerabilities →

Advisory

Rembg is a tool to remove images background. In Rembg 2.0.57 and earlier, the CORS middleware is set up 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.

Affected package

rembg

Latest version: 2.0.65

Remove image background

Affected versions

Fixed versions

Vulnerability changelog

This vulnerability has no description

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 6.5

CVSS v3 Details

MEDIUM 6.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
LOW
Integrity Impact (I)
LOW
Availability Availability (A)
NONE