Read the docs
TI-2025-18955 Aliases CVE-2025-25301GHSA-r5gx-c49x-h878

Rembg allows SSRF via /api/remove

Priority LOW 37CWE-918Published · Updated

Key facts

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

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

Rembg is a tool to remove images background. In Rembg 2.0.57 and earlier, the /api/remove endpoint takes a URL query parameter that allows an image to be fetched, processed and returned. An attacker may be able to query this endpoint to view pictures hosted on the internal network of the rembg server. This issue may lead to Information Disclosure.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00521 44th 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-r5gx-c49x-h878
  • 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-r5gx-c49x-h878

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-25301
  2. 2026-10-03 Alias added: GHSA-r5gx-c49x-h878

References

  • TI-2026-28914 Rembg has a Path Traversal via Custom Model Loading CVSS 3.1MEDIUM 5.3
  • TI-2025-18956 Rembg CORS misconfiguration CVSS 4.0HIGH 8.7

Sources