In short
- CVE-2025-25301 is a HIGH (CVSS 7.5) vulnerability affecting rembg, rembg (danielgatis).
- Chance of exploitation in the next 30 days (EPSS): 0.53%, higher than 44.7% of all vulnerabilities.
- Fix: update to 2.0.58 or later.
| Package | Affected versions | Patched versions |
|---|
| rembg PyPI | ≤ 2.0.57< 2.0.58
| 2.0.58
|
| rembg | ≤ 2.0.57
| No fix yet |
Description
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.
NVD description
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free