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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-54916— NetBox设备类型库模块遮蔽RCE及SSRF漏洞

一分钟漏洞结论

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

NetBox Device Type Library 是一个供导入 NetBox 的社区贡献的设备类型定义集合。由于缺少 文件,且未设置 ,导致 pytest 的默认“prepend”导入模式会在测试收集阶段将 目录置于 的最前端。这使得未经验证的贡献者可以通过添加如 这样的模块来遮蔽(shadow)GitPython 库,从而在 执行 时生效;或者通过添加 实现在测试收集时自动执行代码。Python 会在任何测试函数运行之前导入并执行该模块,从而允许攻击者在 GitHub Actions 运行环境中执行任意代码、

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

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

漏洞信息

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

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

Vulnerability Title
NetBox Device Type Library: Module Shadowing Bypass of prior pickle fix - RCE via missing `tests/__init__.py` + SSRF via unfixed `NETBOX_DT_LIBRARY_URL` → Cloud Metadata credential theft
来源: CVE Program / CVE List V5
Vulnerability Description
NetBox Device Type Library is a collection of community-sourced device type definitions for import into NetBox. The absence of tests/init.py and the lack of --import-mode=importlib cause pytest prepend import mode to place the tests directory at the front of sys.path during collection. An unauthenticated contributor can add a module such as tests/git.py that shadows GitPython when tests/definitions_test.py executes from git import Git, Repo, or add tests/conftest.py for automatic collection-time execution. Python imports and runs the pull-request module before any test function, allowing arbitrary code execution on the GitHub Actions runner, test-result tampering, and access to tokens or network resources exposed to the workflow. This module-shadowing path is independent of the earlier pickle deserialization flaw and the separately tracked NETBOX_DT_LIBRARY_URL issue. This vulnerability is fixed by commit b0d9a3dadd0a0a9d3c93b0b2777559fd4bad1037.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
对搜索路径元素未加控制
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
netbox-community devicetype-library < b0d9a3dadd0a0a9d3c93b0b2777559fd4bad1037g -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2026-54916 补丁与修复 (2)

CVE-2026-54916 厂商安全公告 (1)

同批安全公告 · netbox-community · 2026-09-17 · 共 3 条

CVE-2026-54752 9.6 CRITICAL NetBox设备类型库反序列化远程代码执行漏洞
CVE-2026-54918 5.3 MEDIUM NetBox设备类型库 SSRF及测试数据替换漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-54916

暂无评论


发表评论