Rembg
Monthly
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.
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.
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.
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.
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.
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.
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.
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.