{"id":"CVE-2026-54916","aliases":["CVE-2026-54916"],"related":[],"kind":"vulnerability","state":"published","title":"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","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"}],"published":"2026-09-17T20:01:14.294Z","modified":"2026-09-24T21:25:27.050Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-427","CWE-829"],"affected":[{"ranges":[{"version":"< b0d9a3dadd0a0a9d3c93b0b2777559fd4bad1037g","status":"affected"}],"vendor":"netbox-community","product":"devicetype-library","source":"cvelist"}],"references":[{"url":"https://github.com/netbox-community/devicetype-library/security/advisories/GHSA-wwg5-825x-83g6","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/netbox-community/devicetype-library/pull/4239","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/netbox-community/devicetype-library/commit/b0d9a3dadd0a0a9d3c93b0b2777559fd4bad1037","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-09-18T17:24:10.034Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54916","url":"https://www.cve.org/CVERecord?id=CVE-2026-54916","licence":"CVE Terms of Use","modified":"2026-09-18T18:33:16.921Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54916","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54916","licence":"Public domain","modified":"2026-09-24T21:25:27.050Z"}],"updatedAt":"2026-11-25T22:59:39.516Z","epss":{"score":0.00611,"percentile":0.435,"date":"2026-11-30T12:00:22.000Z"}}