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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-55251— NetBox Device Type Library: Arbitrary Code Execution on CI Runner Through Malicious requirements.txt, .pre-commit-hooks-config.yaml, and .gitmodules Files

Quick assessment

Affected
netbox-community devicetype-library
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.

NetBox 设备类型库(Device Type Library)是一个用于导入 NetBox 的社区贡献的设备类型定义集合。在提交 f41fc1e 之前,CI 工作流 会在 事件触发时执行,并在任何维护者审查之前运行由拉取请求(PR)提供的代码。该流程受三个可通过 PR 编辑的文件驱动: 、 / 以及 。这意味着,即使是没有特殊仓库访问权限的贡献者,也可以提交一个修改这些文件的拉取请求,从而使其代码在 CI 运行器上执行。该问题已通过提交 f41fc1e 进行修复。

CVSS 6.5 · Medium EPSS 0.11% · P1

Possible ATT&CK Techniques 1 AI

T1195 · Supply Chain Compromise

Affected Version Matrix 1

VendorProduct Version RangeStatus
netbox-community devicetype-library < f41fc1e48dec8d7d31afba5f13a8c73652ff5796 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-55251

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
NetBox Device Type Library: Arbitrary Code Execution on CI Runner Through Malicious requirements.txt, .pre-commit-hooks-config.yaml, and .gitmodules Files
Source: CVE Program / CVE List V5
Vulnerability Description
NetBox Device Type Library is a collection of community-sourced device type definitions for import into NetBox. Prior to commit f41fc1e, the CI workflow .github/workflows/validation.yml runs on pull_request and executes code supplied by the pull request before any maintainer review. Three PR-editable files drive this: "requirements.txt", ".pre-commit-hooks-config.yaml" / ".pre-commit-yamlfmt-config.yaml", and ".gitmodules". A contributor with no special repository access could open a pull request that modifies these files and have their code run on the CI runner. This issue has been patched via commit f41fc1e.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
netbox-community devicetype-library < f41fc1e48dec8d7d31afba5f13a8c73652ff5796 -

II. Public POCs for CVE-2026-55251

# 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-55251

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

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

Vendor Advisories for CVE-2026-55251 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-55251

No comments yet


Leave a comment