NetBox Device Type Library: Arbitrary Code Execution on CI Runner Through Malicious requirements.txt, .pre-commit-hooks-config.yaml, and .gitmodules Files
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-55251
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 06:11 UTC · Revision 1
Source evidence
NetBox Device Type Library: Arbitrary Code Execution on CI Runner Through Malicious requirements.txt, .pre-commit-hooks-config.yaml, and .gitmodules Files
core-osv · Original sourcePublished 1 Oct 2026, 19:49 UTC
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.
osv:CVE-2026-55251
Complete source record
{
"id": "38c09e33cda1ca4a79d79e6b75a9a3bd93c958baf6ea98ab0ee116a33e4e9166",
"url": "https://osv.dev/vulnerability/CVE-2026-55251",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "NetBox Device Type Library: Arbitrary Code Execution on CI Runner Through Malicious requirements.txt, .pre-commit-hooks-config.yaml, and .gitmodules Files",
"summary": "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.",
"evidence": "osv:CVE-2026-55251",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-55251",
"aliases": [
"CVE-2026-55251",
"GHSA-5x2m-x42f-g4cm"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/netbox-community/devicetype-library",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "f41fc1e48dec8d7d31afba5f13a8c73652ff5796"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "f41fc1e48dec8d7d31afba5f13a8c73652ff5796"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "f41fc1e48dec8d7d31afba5f13a8c73652ff5796"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55251.json"
}
}
],
"modified": "2026-10-28T02:30:26.262078714Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55251.json",
"https://github.com/netbox-community/devicetype-library/security/advisories/GHSA-5x2m-x42f-g4cm",
"https://nvd.nist.gov/vuln/detail/CVE-2026-55251",
"https://github.com/netbox-community/devicetype-library/commit/f41fc1e48dec8d7d31afba5f13a8c73652ff5796"
],
"provider_metadata": {
"cwe_ids": [
"CWE-494",
"CWE-829",
"CWE-94"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55251.json"
}
},
"related_cves": [
{
"value": "CVE-2026-55251",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492944,
"published_at": "2026-10-01T19:49:32.741+00:00"
}