Vulnerabilities

CVE-2026-54916

High 8.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-09-17
Last modified
2026-09-24
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored by
security-advisories@github.com
Fix available
Not registered in the sources

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1055: Process Injection stealth, privilege-escalation
  • T1176: Software Extensions persistence
  • T1195.001: Compromise Software Dependencies and Development Tools initial-access
  • T1505.004: IIS Components persistence
  • T1505.005: Terminal Services DLL persistence
  • T1574.001: DLL stealth, execution
  • T1574.004: Dylib Hijacking stealth, execution
  • T1574.006: Dynamic Linker Hijacking stealth, execution
  • T1574.007: Path Interception by PATH Environment Variable stealth, execution
  • T1574.008: Path Interception by Search Order Hijacking stealth, execution
  • T1574.009: Path Interception by Unquoted Path stealth, execution
  • T1574.013: KernelCallbackTable stealth, execution
  • T1620: Reflective Code Loading stealth

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities