rembg
Affected
- introduced
0, fixed2.0.58(ecosystem)
Fixed versions
2.0.58
Fix
- Fixed version
2.0.58pip install --upgrade rembg==2.0.58
Advisory
Also known as: CVE-2025-25302, GHSA-59qh-fmm7-3g9q
The record has no summary.
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.
Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
0, fixed 2.0.58 (ecosystem)2.0.58
2.0.58pip install --upgrade rembg==2.0.58Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0