CVE-2026-54752: CWE-502: Deserialization of Untrusted Data in netbox-community devicetype-library
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.
AI Analysis
Technical Summary
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.
CVE-2026-54752: CWE-502: Deserialization of Untrusted Data in netbox-community 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
Affected software
netbox-community
devicetype-library
pkg:github/netbox-community/devicetype-libraryRun 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.