{"id":"CVE-2026-55251","state":"PUBLISHED","title":"NetBox Device Type Library: Arbitrary Code Execution on CI Runner Through Malicious requirements.txt, .pre-commit-hooks-config.yaml, and .gitmodules Files","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.","publishedAt":"2026-10-01T19:49:32.741Z","updatedAt":"2026-10-05T20:19:04.856Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["netbox-community devicetype-library"],"affected":[{"vendor":"netbox-community","product":"devicetype-library","versions":[{"version":"< f41fc1e48dec8d7d31afba5f13a8c73652ff5796","status":"affected"}]}],"references":["https://github.com/netbox-community/devicetype-library/security/advisories/GHSA-5x2m-x42f-g4cm","https://github.com/netbox-community/devicetype-library/commit/f41fc1e48dec8d7d31afba5f13a8c73652ff5796"],"weaknesses":["CWE-94","CWE-494","CWE-829"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/55xxx/CVE-2026-55251.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-55251","state":"PUBLISHED","datePublished":"2026-10-01T19:49:32.741Z","dateUpdated":"2026-10-05T20:19:04.856Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-16T16:44:00.625Z"},"containers":{"cna":{"title":"NetBox Device Type Library: Arbitrary Code Execution on CI Runner Through Malicious requirements.txt, .pre-commit-hooks-config.yaml, and .gitmodules Files","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"netbox-community","product":"devicetype-library","versions":[{"version":"< f41fc1e48dec8d7d31afba5f13a8c73652ff5796","status":"affected"}]}],"references":[{"url":"https://github.com/netbox-community/devicetype-library/security/advisories/GHSA-5x2m-x42f-g4cm","name":"https://github.com/netbox-community/devicetype-library/security/advisories/GHSA-5x2m-x42f-g4cm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/netbox-community/devicetype-library/commit/f41fc1e48dec8d7d31afba5f13a8c73652ff5796","name":"https://github.com/netbox-community/devicetype-library/commit/f41fc1e48dec8d7d31afba5f13a8c73652ff5796","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-494","lang":"en","description":"CWE-494: Download of Code Without Integrity Check","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-829","lang":"en","description":"CWE-829: Inclusion of Functionality from Untrusted Control Sphere","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-01T19:49:32.741Z"},"source":{"advisory":"GHSA-5x2m-x42f-g4cm","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/netbox-community/devicetype-library/security/advisories/GHSA-5x2m-x42f-g4cm","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-05T20:18:57.761621Z","id":"CVE-2026-55251","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-05T20:19:04.856Z"}}]}}}