MediumVulnerability
CVE-2026-40086: Rembg path traversal in HTTP server model_path parameter
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-40086
- Published
- Record updated
- Affected
- rembg < 2.0.75
- Fixed in
- 2.0.75
- released April 8, 2026, 2 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.6%
Summary
CVE-2026-40086 affects Rembg, a tool for removing image backgrounds, before version 2.0.75. A path traversal flaw in the rembg HTTP server lets unauthenticated remote attackers read arbitrary files from the server's filesystem by sending a crafted request with a malicious model_path parameter. The server attempts to load the file as an ONNX model, so error messages can reveal file existence, permissions, and potentially file contents.
Mitigation
Fixed in 2.0.75.
Related items
- MediumCVE-2026-134825: Gradio 6.27.0 before 6.32.0 contains an authentication bypass vulnerability in gradio/history.py that allows remote…Similar attack · NVD/CVE Database
- MediumCVE-2026-124248: GPTranslate WordPress plugin stored cross-site scripting via comment parameterSimilar attack · NVD/CVE Database
- MediumAmazon: China-Linked Hackers’ AI Agents Exploited Medical Software Zero-DaySimilar attack · SecurityWeek
- MediumAttackers' AI Agents Found a Zero-Day in Medical-Imaging Software and Gained Root AccessSimilar attack · The Hacker News
- MediumCVE-2026-54026: LibreChat message injection via conversationId in request bodySimilar attack · NVD/CVE Database