CVE-2026-54916
Last modified
CVE-2026-54916 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.61% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| netbox-community | devicetype-library | < b0d9a3dadd0a0a9d3c93b0b2777559fd4bad1037g |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-54916?
How severe is CVE-2026-54916?
How do I fix CVE-2026-54916?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-54908Pion DTLS is a Go implementation of Datagram Transport Layer…6.3
- CVE-2026-54909pion/stun is a Go implementation of STUN. Prior to 3.1.3, XO…5.3
- CVE-2026-5491DriveLock Directory Traversal Information Disclosure Vulnera…7.5
- CVE-2026-54910FileBrowser Quantum is a free, self-hosted, web-based file m…7.7
- CVE-2026-54911UltraJSON is a fast JSON encoder and decoder written in pure…6.5
- CVE-2026-54915Tautulli is a Python based monitoring and tracking tool for …5.4
- CVE-2026-54917SeaweedFS is a distributed storage system for object storage…10
- CVE-2026-54918NetBox Device Type Library is a collection of community-sour…5.3
- CVE-2026-54919cpp-httplib is a C++11 single-file header-only cross platfor…7.4
- CVE-2026-5492DriveLock Directory Traversal Information Disclosure Vulnera…6.5
- CVE-2026-54920OpenEXR is the reference implementation and specification fo…0
- CVE-2026-5493Labcenter Electronics Proteus PDSPRJ File Parsing Out-Of-Bou…7.8
Are you affected by CVE-2026-54916?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
