๐Ÿ” CVE Alert

CVE-2026-54916

HIGH 8.8

NetBox Device Type Library: Module Shadowing Bypass of prior pickle fix - RCE via missing `tests/__init__.py` + SSRF via unfixed `NETBOX_DT_LIBRARY_URL` โ†’ Cloud Metadata credential theft

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-427 CWE-829
Vendor netbox-community
Product devicetype-library
Published Sep 17, 2026
Stay Ahead of the Next One

Get instant alerts for netbox-community devicetype-library

Be the first to know when new high vulnerabilities affecting netbox-community devicetype-library are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

netbox-community / devicetype-library
< b0d9a3dadd0a0a9d3c93b0b2777559fd4bad1037g

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/netbox-community/devicetype-library/security/advisories/GHSA-wwg5-825x-83g6 github.com: https://github.com/netbox-community/devicetype-library/pull/4239 github.com: https://github.com/netbox-community/devicetype-library/commit/b0d9a3dadd0a0a9d3c93b0b2777559fd4bad1037