Untriaged
Permalink
CVE-2026-40086
5.3 MEDIUM
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): LOW
- Privileges required (PR): NONE
- User interaction (UI): NONE
- Scope (S): UNCHANGED
- Confidentiality impact (C): LOW
- Integrity impact (I): NONE
- Availability impact (A): NONE
Rembg has a Path Traversal via Custom Model Loading
Rembg is a tool to remove images background. Prior to 2.0.75, a path traversal vulnerability in the rembg HTTP server allows unauthenticated remote attackers to read arbitrary files from the server's filesystem. By sending a crafted request with a malicious model_path parameter, an attacker can force the server to attempt loading any file as an ONNX model, revealing file existence, permissions, and potentially file contents through error messages. This vulnerability is fixed in 2.0.75.
References
-
https://github.com/danielgatis/rembg/security/advisories/GHSA-3wqj-33cg-xc48 x_refsource_CONFIRM
-
https://github.com/danielgatis/rembg/releases/tag/v2.0.75 x_refsource_MISC
Affected products
rembg
- ==< 2.0.75
Matching in nixpkgs
pkgs.rembg
Tool to remove background from images
pkgs.pkgsRocm.rembg
Tool to remove background from images
pkgs.python312Packages.rembg
Tool to remove background from images
pkgs.python313Packages.rembg
Tool to remove background from images
pkgs.python314Packages.rembg
Tool to remove background from images
Package maintainers
-
@Defelo Defelo