Read the docs
TI-2025-18956 Aliases CVE-2025-25302GHSA-59qh-fmm7-3g9q

Rembg CORS misconfiguration

Priority MEDIUM 43CWE-346Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
High · None · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-346.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00193 9th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
danielgatisrembgup to 2.0.57—No fix listedCNA
—rembg (PyPI)up to 2.0.57—No fix listedGHSA-59qh-fmm7-3g9q
  • rembg Vendordanielgatis Affected up to 2.0.57 Fixed in — No fix listed CNA
  • rembg (PyPI) Vendor— Affected up to 2.0.57 Fixed in — No fix listed GHSA-59qh-fmm7-3g9q

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:danielgatis:rembg:*:*:*:*:*:*:*:*up to 2.0.57Vulnerabledanielgatis
  • cpe:2.3:a:danielgatis:rembg:*:*:*:*:*:*:*:* Versions up to 2.0.57 Vulnerable ·danielgatis

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-25302
  2. 2026-10-03 Alias added: GHSA-59qh-fmm7-3g9q

References

  • TI-2026-28914 Rembg has a Path Traversal via Custom Model Loading CVSS 3.1MEDIUM 5.3
  • TI-2025-18955 Rembg allows SSRF via /api/remove CVSS 4.0MEDIUM 6.9

Sources