Advisory record · GHSA-59qh-fmm7-3g9q

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 t...

CVSS 8.7 HighEPSS 0.0019 · 9th percentile

Published by the GitHub Advisory Database at 3 Mar 2025, 17:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
rembgPyPI<2.0.582.0.58
Identifiers
GHSA-59qh-fmm7-3g9q · CVE-2025-25302 · PYSEC-2025-25
Weakness (CWE)
CWE-346
Published
3 Mar 2025
Updated
10 Jun 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Rembg versions before 2.0.58 have a CORS configuration that reflects all origins. Any website can send cross-site requests to a running rembg server and query its API, and because credentials are allowed, this would include authenticated requests if authentication is enabled. Upgrade rembg to version 2.0.58.

Written 10 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.7 High 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0019, the 9th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the GitHub Advisory Database, published 3 Mar 2025. New records show when each source confirmed them.

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.