Skip to main content

Rembg

4 CVEs product

Monthly

CVE-2026-115924 Oct 26, 19:22 PyPI HIGH PATCH GHSA This Week

Unauthenticated file disclosure and arbitrary ONNX computation in rembg prior to 2.0.82: the public /api/remove endpoint forwards an attacker-supplied extras.sam_model value into SAM model download logic, where it is interpolated into local filenames and GitHub download URLs passed to pooch.retrieve() without a pinned hash. By combining path traversal with URL-fragment syntax - the HTTP request discards the '#fragment' while the local POSIX path keeps it - an attacker who can reach the HTTP server mode endpoint primes a directory tree with a first request (HTTP 500) and then, with an identical second request, plants malicious ONNX encoder/decoder files beside a target file; those graphs read the target via ONNX external data and encode its bytes into the returned PNG mask. No authentication is required (CVSS 3.1 AV:N/AC:L/PR:N/UI:N, 8.6), impact is bounded by what the rembg process can read, and the vendor advisory includes proof-of-concept scripts validated against a loopback lab deployment; no CISA KEV entry exists and the vendor fix ships in v2.0.82.

Path Traversal Rembg Danielgatis
NVD GitHub VulDB
CVSS 3.1
8.6
EPSS
0.4%
CVE-2026-40086 Apr 10, 16:16 PyPI MEDIUM PATCH GHSA This Month

Unauthenticated remote attackers can exploit a path traversal vulnerability in rembg's HTTP server (versions prior to 2.0.75) by sending a crafted request with a malicious model_path parameter to read arbitrary files from the server filesystem. The vulnerability allows attackers to enumerate file existence and permissions, and potentially extract file contents through verbose error messages when the server attempts to load arbitrary paths as ONNX models. This is a confirmed vulnerability with a vendor-released patch available in version 2.0.75.

Path Traversal Rembg Danielgatis
NVD GitHub
CVSS 3.1
5.3
EPSS
0.0%
CVE-2025-25302 Mar 03, 17:15 PyPI HIGH POC PATCH This Week

Rembg is a tool to remove images background. Rated high severity (CVSS 8.7), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Information Disclosure Rembg Danielgatis
NVD GitHub
CVSS 4.0
8.7
EPSS
0.0%
CVE-2025-25301 Mar 03, 17:15 PyPI MEDIUM POC PATCH This Month

Rembg is a tool to remove images background. Rated medium severity (CVSS 6.9), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Information Disclosure SSRF Rembg Danielgatis
NVD GitHub
CVSS 4.0
6.9
EPSS
0.1%
EPSS 0% CVSS 8.6
HIGH PATCH This Week

Unauthenticated file disclosure and arbitrary ONNX computation in rembg prior to 2.0.82: the public /api/remove endpoint forwards an attacker-supplied extras.sam_model value into SAM model download logic, where it is interpolated into local filenames and GitHub download URLs passed to pooch.retrieve() without a pinned hash. By combining path traversal with URL-fragment syntax - the HTTP request discards the '#fragment' while the local POSIX path keeps it - an attacker who can reach the HTTP server mode endpoint primes a directory tree with a first request (HTTP 500) and then, with an identical second request, plants malicious ONNX encoder/decoder files beside a target file; those graphs read the target via ONNX external data and encode its bytes into the returned PNG mask. No authentication is required (CVSS 3.1 AV:N/AC:L/PR:N/UI:N, 8.6), impact is bounded by what the rembg process can read, and the vendor advisory includes proof-of-concept scripts validated against a loopback lab deployment; no CISA KEV entry exists and the vendor fix ships in v2.0.82.

Path Traversal Rembg Danielgatis
NVD GitHub VulDB
EPSS 0% CVSS 5.3
MEDIUM PATCH This Month

Unauthenticated remote attackers can exploit a path traversal vulnerability in rembg's HTTP server (versions prior to 2.0.75) by sending a crafted request with a malicious model_path parameter to read arbitrary files from the server filesystem. The vulnerability allows attackers to enumerate file existence and permissions, and potentially extract file contents through verbose error messages when the server attempts to load arbitrary paths as ONNX models. This is a confirmed vulnerability with a vendor-released patch available in version 2.0.75.

Path Traversal Rembg Danielgatis
NVD GitHub
EPSS 0% CVSS 8.7
HIGH POC PATCH This Week

Rembg is a tool to remove images background. Rated high severity (CVSS 8.7), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Information Disclosure Rembg Danielgatis
NVD GitHub
EPSS 0% CVSS 6.9
MEDIUM POC PATCH This Month

Rembg is a tool to remove images background. Rated medium severity (CVSS 6.9), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Information Disclosure SSRF Rembg +1
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy