Skip to main content

CVE-2026-54752: CWE-502: Deserialization of Untrusted Data in netbox-community devicetype-library

0
Critical
VulnerabilityCVE-2026-54752cvecve-2026-54752cwe-502cwe-829
Published: 09/17/2026 (09/17/2026, 19:56:16 UTC)
Source: CVE Database V5
Vendor/Project: netbox-community
Product: devicetype-library

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 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.

CVSS v3.1

Score 9.6critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected software

netbox-community

devicetype-library

GitHub Actionsmore threats →ai
netbox-community/devicetype-library
pkg:github/netbox-community/devicetype-library
Affected versions
*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/17/2026, 20:16:48 UTC

Technical Analysis

The netbox-community devicetype-library contains a deserialization of untrusted data vulnerability (CWE-502) in its test validation harness. Specifically, the read_pickle_data function in tests/pickle_operations.py uses pickle.load on pull-request-controlled tracked pickle cache files. An unauthenticated contributor can modify the USE_LOCAL_KNOWN_SLUGS flag and supply malicious tests/known-modules.pickle or tests/known-racks.pickle files. When pytest runs, tests/definitions_test.py loads these files, triggering deserialization of attacker-controlled objects. This allows arbitrary code execution in the context of the GitHub Actions runner or maintainer processes executing the tests, impacting confidentiality, integrity, and availability. The issue is resolved by commit 1c6f7e2b93589b965318c6e67ac3504831f0e71e.

Potential Impact

Successful exploitation leads to arbitrary code execution in the environment running the tests, such as GitHub Actions runners or maintainer machines. This compromises confidentiality, integrity, and availability of affected systems and resources.

Mitigation Recommendations

A fix is available and has been applied in commit 1c6f7e2b93589b965318c6e67ac3504831f0e71e. Users and maintainers should update to the fixed version incorporating this commit to remediate the vulnerability. Until patched, avoid running untrusted pull requests in environments where code execution could cause harm.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-15T23:12:41.965Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aac478455bf5e2cf5d35f3c

Added to database: 09/17/2026, 20:03:16 UTC

Last enriched: 09/17/2026, 20:16:48 UTC

Last updated: 09/17/2026, 22:15:00 UTC

Views: 16

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses