目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-115924— Rembg 远程代码执行漏洞

一分钟漏洞结论

影响对象
danielgatis rembg
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Rembg 是一个用于移除图像背景的工具。在 2.0.82 版本之前,其公开的 接口会将攻击者控制的 参数传递给 ,随后该参数在 中被直接拼接到 SAM 模型文件名及 GitHub 下载 URL 中,并传入 函数,且未使用固定的哈希值进行校验。未认证的攻击者可构造一个结合路径遍历与 URL 片段语法的 值,利用 HTTP 请求会丢弃 URL 片段而本地 POSIX 路径会保留该片段的差异,从而发起攻击。首次请求会预先创建攻击者指定的路径树,随后重复发送相同请求,即可在可读取的目标文件旁下载恶意的 ONNX 编码器和

CVSS 8.6 · High
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-115924 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Rembg: Unauthenticated SAM model injection permits local-file disclosure through malicious ONNX graphs
来源: CVE Program / CVE List V5
Vulnerability Description
Rembg is a tool to remove images background. Prior to 2.0.82, the public /api/remove endpoint passes attacker-controlled extras.sam_model through rembg/commands/s_command.py to rembg/sessions/sam.py, where it is interpolated into SAM filenames and GitHub download URLs passed to pooch.retrieve() without a pinned hash. An unauthenticated attacker can supply a sam_model value combining path traversal with URL fragment syntax to exploit the HTTP request discarding the fragment while the local POSIX path retains it. The first request primes the attacker-selected path tree, and an identical repeated request downloads malicious ONNX encoder and decoder files beside a readable target file. The graphs can load the target through ONNX external data and encode its bytes into the returned PNG mask, disclosing complete files accessible to the rembg process and allowing arbitrary ONNX computation. This issue is fixed in version 2.0.82.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
来源: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
danielgatis rembg < 2.0.82 -

二、漏洞 CVE-2026-115924 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-115924 的情报信息

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

CVE-2026-115924 其他参考 (3)

IV. Related Vulnerabilities