# rembg (PyPI) vulnerabilities

4 known vulnerabilities (2 high, 2 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 2.0.87 (Nov 6, 2026): no advisory affects it
- Newest unaffected release: 2.0.87 (Nov 6, 2026), the latest release
- Weekly downloads: 1M
- Dependents: 97
- Releases: 59 since 2.0.28 (Nov 24, 2022)
- Registry: https://pypi.org/project/rembg/
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-115924: 2.0.28 to 2.0.81 (2.0.82 is outside it)
- CVE-2026-40086: 2.0.28 to 2.0.74 (2.0.75 is outside it)
- CVE-2025-25302: 2.0.28 to 2.0.57 (2.0.58 is outside it)
- CVE-2025-25301: 2.0.28 to 2.0.57 (2.0.58 is outside it)

## Advisories (4)

### [CVE-2026-115924](https://cve.now/CVE-2026-115924): Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs

- Severity: High 8.6
- Published: Oct 26, 2026
- Affected: fixed in 2.0.82.
- Fixed in 2.0.82 (released Sep 2, 2026, 54 days before disclosure).
- The latest release, 2.0.87, is not affected.

### [CVE-2026-40086](https://cve.now/CVE-2026-40086): Rembg has a Path Traversal via Custom Model Loading

- Severity: Medium 5.3
- Published: Apr 10, 2026
- Affected: fixed in 2.0.75.
- Fixed in 2.0.75 (released Apr 8, 2026, 2 days before disclosure).
- The latest release, 2.0.87, is not affected.

### [CVE-2025-25302](https://cve.now/CVE-2025-25302): Rembg CORS misconfiguration

- Severity: High 8.7
- Published: Mar 3, 2025
- Affected: fixed in 2.0.58; through 2.0.57.
- Fixed in 2.0.58 (released Aug 4, 2024, 211 days before disclosure).
- The latest release, 2.0.87, is not affected.

### [CVE-2025-25301](https://cve.now/CVE-2025-25301): Rembg allows SSRF via /api/remove

- Severity: Medium 6.9
- Published: Mar 3, 2025
- Affected: through 2.0.57; fixed in 2.0.58.
- Fixed in 2.0.58 (released Aug 4, 2024, 211 days before disclosure).
- The latest release, 2.0.87, is not affected.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/pypi/rembg
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
