PT-2026-31984 · Danielgatis · Rembg

Published

2026-04-10

·

Updated

2026-04-10

·

CVE-2026-40086

CVSS v3.1

5.3

Medium

AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
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.

Fix

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2026-40086

Affected Products

Rembg