{"id":"CVE-2026-54752","summary":"NetBox Device Type Library: Insecure Pickle Deserialization in Test Suite Allows Remote Code Execution via Malicious Pull Request","details":"NetBox Device Type Library is a collection of community-sourced device type definitions for import into NetBox. The validation test harness can deserialize pull-request-controlled tracked pickle cache files through pickle.load in the read_pickle_data function in tests/pickle_operations.py. An unauthenticated contributor can change USE_LOCAL_KNOWN_SLUGS in tests/test_configuration.py and supply a crafted tests/known-modules.pickle or tests/known-racks.pickle file that tests/definitions_test.py loads when pytest runs. Deserialization invokes attacker-controlled object reduction behavior, allowing arbitrary code execution in the GitHub Actions runner or in a maintainer process that runs the tests, with the confidentiality, integrity, and availability of reachable resources at risk. This vulnerability is fixed with commit 1c6f7e2b93589b965318c6e67ac3504831f0e71e.","aliases":["GHSA-492p-5wp7-2w7c"],"modified":"2026-09-19T03:47:17.271870184Z","published":"2026-09-17T19:56:16.136Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-502","CWE-829"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54752.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"1c6f7e2b93589b965318c6e67ac3504831f0e71e"}]},{"extracted_events":[{"fixed":"pickle.load"}],"source":"DESCRIPTION"}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54752.json"},{"type":"ADVISORY","url":"https://github.com/netbox-community/devicetype-library/security/advisories/GHSA-492p-5wp7-2w7c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54752"},{"type":"FIX","url":"https://github.com/netbox-community/devicetype-library/commit/1c6f7e2b93589b965318c6e67ac3504831f0e71e"},{"type":"FIX","url":"https://github.com/netbox-community/devicetype-library/pull/4238"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/netbox-community/devicetype-library","events":[{"introduced":"0"},{"fixed":"1c6f7e2b93589b965318c6e67ac3504831f0e71e"}],"database_specific":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54752.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}