Skip to content
RedCVE

CVE-2026-54916Netbox Community Devicetype-library uncontrolled search path element

netbox-communityPublished:

CVSS score

8.8

High

CVSS 3.1 from github.com

Exploit probability (EPSS)

0.61%

0.61% chance of exploitation in the next 30 days, higher than 50.2% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

NetBox Device Type Library is a collection of community-sourced device type definitions for import into NetBox. The absence of tests/init.py and the lack of --import-mode=importlib cause pytest prepend import mode to place the tests directory at the front of sys.path during collection. An unauthenticated contributor can add a module such as tests/git.py that shadows GitPython when tests/definitions_test.py executes from git import Git, Repo, or add tests/conftest.py for automatic collection-time execution. Python imports and runs the pull-request module before any test function, allowing arbitrary code execution on the GitHub Actions runner, test-result tampering, and access to tokens or network resources exposed to the workflow. This module-shadowing path is independent of the earlier pickle deserialization flaw and the separately tracked NETBOX_DT_LIBRARY_URL issue. This vulnerability is fixed by commit b0d9a3dadd0a0a9d3c93b0b2777559fd4bad1037.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running netbox-community Devicetype-library and compare its version with the affected versions.

  2. Watch for an official fix

    No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
netbox-community Devicetype-library< b0d9a3dadd0a0a9d3c93b0b2777559fd4bad1037g

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-54916 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-54916?

CVE-2026-54916 has a CVSS 3.1 base score of 8.8 (high).

Which versions are affected?

Netbox Community Devicetype-library (< b0d9a3dadd0a0a9d3c93b0b2777559fd4bad1037g)

Is there a patch for CVE-2026-54916?

No patch is linked in the official record yet. Watch the vendor's security advisories.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.