Skip to content
Submit incident
AII-1001-82391
ConfirmedA court, a regulator or the organization itself has stated the core facts, or the record cites a court or regulator source.

rembg CORS misconfiguration (CVE-2025-25302)

The rembg image processing server contains a CORS misconfiguration that allows any website to send requests to the application, potentially enabling cross-site attacks and amplifying other vulnerabilities.

17 July 2024 Β· rembg Β· Security and cyberattacks
17 July 2024
AII-1001-823912 sources ↓
Quick facts
Category
Security and cyberattacks
Source
securitylab.github.com
Date
17 July 2024
Drafted by
Raidu Incident Detection

What happened

The rembg server version 2.0.57 contains a CORS middleware configuration that allows all origins (allow_origins = ["*"]), all methods, and all headers, with allow_credentials set to True.

This misconfiguration allows any website to send cross-site requests to the rembg server and query its API endpoints, including with authenticated credentials if enabled.

Reported impact

The CORS misconfiguration may increase the severity of other vulnerabilities in the application by enabling cross-site attacks.

Index analysis

The vulnerability was reported to the maintainer on 2024-07-17 via GitHub's Private Vulnerability Reporting.

Governance controls

The maintainer responded on 2024-10-29 indicating intention to fix the issues in the future.

Classification

Category
Security and cyberattacks
Industry
General or personal use
Harm status
Potential harm
Intent
Unintentional
Timing
Post-deployment
Consequences
None recorded
AI systems
rembg
Regulations
EU AI Act (cited)

Sources and evidence

This record was researched and written by the Index, based on the following original reporting.

securitylab.github.com
https://securitylab.github.com/advisories/GHSL-2024-161_GHSL-2024-162_rembg/
cve.org
NVD entry