CVE-2026-55251 Details
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.
A vulnerability exists in the NetBox Device Type Library CI workflow, specifically in the validation.yml file, which runs on pull requests. This workflow executes code from three PR-editable files: requirements.txt, .pre-commit-hooks-config.yaml, and .gitmodules. A contributor without special repository access could exploit this by modifying these files to include malicious code, which would then be executed on the CI runner before any maintainer review. This issue has been patched by adding a 'validate-inputs' job that restricts untrusted contributors from running code in the CI, except under certain conditions. However, a residual risk remains as pull request authors can still edit the CI workflow file validation.yml, potentially bypassing the new safeguards.
The vulnerability has been addressed by implementing a 'validate-inputs' job in the CI workflow that blocks untrusted contributions from executing code. This job ensures that only trusted authors or approved pull requests can run code in the CI, while also preventing modifications to critical files like .gitmodules from forked repositories.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 1, 2026CISA-ADP
Assessed Oct 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/netbox-community/devicetype-library/security/advisories/GHSA-5x2m-x42f-g4cm | CISA-ADP | AdvisoryRemedyVendor |
| https://github.com/netbox-community/devicetype-library/commit/f41fc1e48dec8d7d31afba5f13a8c73652ff5796 | [email protected] | Source CodeVendor |
| https://github.com/netbox-community/devicetype-library/security/advisories/GHSA-5x2m-x42f-g4cm | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-494 | Download of Code Without Integrity Check | [email protected] |
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| netbox-community/devicetype-library | 0f6ba8ffc9 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 5, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2026 | New CVE Received | [email protected] |
Volerion