Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-40086— Rembg has a Path Traversal via Custom Model Loading

Quick assessment

Affected
danielgatis rembg
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Rembg是Daniel Gatis个人开发者的一个删除图像背景的工具。 Rembg 2.0.75之前版本存在安全漏洞,该漏洞源于HTTP服务器model_path参数验证不足,可能导致路径遍历攻击。

CVSS 5.3 · Medium EPSS 0.59% · P48
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-40086

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Rembg has a Path Traversal via Custom Model Loading
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Rembg 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Rembg是Daniel Gatis个人开发者的一个删除图像背景的工具。 Rembg 2.0.75之前版本存在安全漏洞,该漏洞源于HTTP服务器model_path参数验证不足,可能导致路径遍历攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
danielgatis rembg < 2.0.75 -

II. Public POCs for CVE-2026-40086

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40086

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-40086 (1)

Vendor Advisories for CVE-2026-40086 (1)

Vendor Pages for CVE-2026-40086 (1)

IV. Related Vulnerabilities