CVE-2026-54916CWE-427CWE-829

CVE-2026-54916

High · published September 18, 2026

CVSS v3.1
8.8
EPSS
1%
Percentile
48.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00611 · 48.6th percentile
Weaknesses
CWE-427 · Uncontrolled Search Path Element; CWE-829 · Inclusion of Functionality from Untrusted Control Sphere
Published
2026-09-18T01:17Z
References (3)
EPSS history
Timeline
  • 19 SEP 03:53Z
    EPSS moved — → 0%
    epss
  • 17 SEP 20:01Z
    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
    cvelistv5