cvedb.io
CVE-2026-40086
MEDIUM · CVSS 5.3
EPSS exploitation probability: 0%
Published 2026-04-10T17:17:12.663 · Last modified 2026-06-17T10:44:42.020

Summary

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.

Affected products

danielgatis — rembg

Does this affect you?

Add your gear to cvedb and we'll alert you only when danielgatis ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.