Vulnerabilities/

CVE-2026-54752

CVE

CVE-2026-54752

NetBox Device Type Library: Insecure Pickle Deserialization in Test Suite Allows Remote Code Execution via Malicious Pull Request

Severity

Critical

Base CVSS

9.6

Fixed in

1c6f7e2b93589b965318c6e67ac3504831f0e71e

Description

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 readpickledata function in tests/pickleoperations.py. An unauthenticated contributor can change USELOCALKNOWNSLUGS in tests/testconfiguration.py and supply a crafted tests/known-modules.pickle or tests/known-racks.pickle file that tests/definitionstest.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.

Severity scores

Source

Severity

Base score

CVSS version

Score vector

NVD

Critical

9.6

3.1

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

OSV

0

3.1

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Endor Labs

Required action

Known ransomware campaign use

References

https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54752.json, https://github.com/netbox-community/devicetype-library/security/advisories/GHSA-492p-5wp7-2w7c, https://nvd.nist.gov/vuln/detail/CVE-2026-54752, https://github.com/netbox-community/devicetype-library/commit/1c6f7e2b93589b965318c6e67ac3504831f0e71e, https://github.com/netbox-community/devicetype-library/pull/4238

Basic information

Base CVSS

9.6

EPSS probability

0.0

EPSS percentile

0.40523

Introduced version

0

Fix available

1c6f7e2b93589b965318c6e67ac3504831f0e71e

Endor Patches

Fix critical vulnerabilities instantly

Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.

Fix without upgrading

Get a demo of Endor Labs today.