CVE-2026-54918 Details
Description
NetBox Device Type Library is a collection of community-sourced device type definitions for import into NetBox. In the affected repository revisions, NETBOX_DT_LIBRARY_URL in tests/test_configuration.py is a free-form tracked constant that an unauthenticated pull-request author can change before the validation test harness runs. During pytest collection, tests/definitions_test.py passes the value to Repo.clone_from and create_remote("upstream").fetch(), causing blind Git smart-HTTP requests to an attacker-selected host or loading attacker-controlled tests/known-*.json validation caches. The blind request cannot set arbitrary metadata-service headers or return response bodies, and this path does not execute remote Git hooks, but substituted known data can bypass slug, module, and rack uniqueness validation. This vulnerability is fixed in commit 8980c690097e92f5028c7e6df402b327d827ecd5.
A vulnerability in the NetBox Device Type Library allows unauthenticated pull request authors to manipulate the CI validation test harness. By changing the 'NETBOX_DT_LIBRARY_URL' constant in 'tests/test_configuration.py', an attacker can direct the CI runner to clone a repository from an arbitrary host. This exploitation causes blind Git smart-HTTP requests to the selected host or loads attacker-controlled validation caches, bypassing important uniqueness checks. The vulnerability arises from the test harness's reliance on a free-form URL constant that can be altered by pull request authors before the tests are executed.
The vulnerability has been patched by changing how the 'NETBOX_DT_LIBRARY_URL' is sourced. The URL is now obtained from an environment variable that can only be set by CI or a maintainer, ensuring that untrusted pull request authors cannot manipulate it. This change is included in the commit '8980c690097e92f5028c7e6df402b327d827ecd5'.
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 Sep 17, 2026CISA-ADP
Assessed Sep 24, 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/commit/8980c690097e92f5028c7e6df402b327d827ecd5 | [email protected] | Source CodeVendor |
| https://github.com/netbox-community/devicetype-library/pull/4240 | [email protected] | Issue TrackingVendor |
| https://github.com/netbox-community/devicetype-library/security/advisories/GHSA-8cfp-3c4q-xr6x | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-15 | External Control of System or Configuration Setting | [email protected] |
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | [email protected] |
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| NetBox Device Type Library | 1c6f7e2b93589b965318c6e67ac3504831f0e71e |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 24, 2026 | CVE Modified | CISA-ADP |
| Sep 17, 2026 | New CVE Received | [email protected] |
Volerion