← Back to CVEs
CVE-2026-40086
MEDIUM5.3
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.
CVE Details
CVSS v3.1 Score5.3
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published4/10/2026
Last Modified4/13/2026
Sourcenvd
Honeypot Sightings0
Weaknesses (CWE)
CWE-22CWE-73
References
https://github.com/danielgatis/rembg/commit/7c76d3cdc5757ffbda6a76664b24cfbecdb80273(security-advisories@github.com)
https://github.com/danielgatis/rembg/releases/tag/v2.0.75(security-advisories@github.com)
https://github.com/danielgatis/rembg/security/advisories/GHSA-3wqj-33cg-xc48(security-advisories@github.com)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.