Home

Description

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.

PUBLISHED Reserved 2026-04-09 | Published 2026-04-10 | Updated 2026-04-10 | Assigner GitHub_M




MEDIUM: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-73: External Control of File Name or Path

Product status

< 2.0.75
affected

References

github.com/.../rembg/security/advisories/GHSA-3wqj-33cg-xc48

github.com/...ommit/7c76d3cdc5757ffbda6a76664b24cfbecdb80273

github.com/danielgatis/rembg/releases/tag/v2.0.75

cve.org (CVE-2026-40086)

nvd.nist.gov (CVE-2026-40086)

Download JSON