---
id: CVE-2026-54918
title: >-
  NetBox Device Type Library is a collection of community-sourced device type
  definitions for import into NetBox
summary: >-
  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 th…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-15
  - CWE-829
  - CWE-918
vendor: netbox-community
product: devicetype-library
affected:
  - devicetype-library < 8980c690097e92f5028c7e6df402b327d827ecd5
published: '2026-09-17'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T21:17:17.930'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54918'
references:
  - url: >-
      https://github.com/netbox-community/devicetype-library/commit/8980c690097e92f5028c7e6df402b327d827ecd5
    label: security-advisories@github.com
  - url: 'https://github.com/netbox-community/devicetype-library/pull/4240'
    label: security-advisories@github.com
  - url: >-
      https://github.com/netbox-community/devicetype-library/security/advisories/GHSA-8cfp-3c4q-xr6x
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-17T20:28:02.785Z'
epss: 0.00304
epssPercentile: 0.23315
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
