Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- Medium severity, with a CVSS score of 4.3, published 10 April 2026.
- Which products and versions are affected?
- Danielgatis Rembg < 2.0.75.
- Is there a fix for This vulnerability?
- A patch was published on 2026-04-09: Fixes committed and version 2.0.75 released. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is This vulnerability attacked?
- It is attacked over the network, in a software library.
- Am I affected?
- Check whether you run Danielgatis Rembg at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The rembg server component contains two primary security flaws. First, the `/api/remove` endpoint is vulnerable to Server-Side Request Forgery (SSRF) because it fetches images from user-provided URLs without validating if the destination is a public or private IP address. Second, the server implements a weak Cross-Origin Resource Sharing (CORS) policy that reflects all origins and sets `allow_credentials` to true. An attacker can leverage these issues by hosting a malicious website that, when visited by a user, sends cross-site requests to the rembg server to probe or exfiltrate images from the internal network. These issues were addressed in version 2.0.75 by validating IP addresses and hardening CORS settings.
Affected products
- danielgatis rembg < 2.0.75
Timeline
- 2026-04-09: patched: Fixes committed and version 2.0.75 released.
- 2026-04-10: advisory: GitHub Security Advisory published.
References
- https://github.com/danielgatis/rembg/security/advisories/GHSA-55v6-g8pm-pw4c
- https://github.com/danielgatis/rembg/commit/07ad0d493057bddf821dcc3e2410eb7e065257c0
- https://github.com/danielgatis/rembg/releases/tag/v2.0.75
- https://api.github.com/repos/danielgatis/rembg/security-advisories/GHSA-55v6-g8pm-pw4c