CVE-2026-29514: CWE-183: Permissive List of Allowed Inputs in netbox-community netbox
NetBox versions 4.3.5 through 4.5.4 contain a remote code execution vulnerability in the RenderTemplateMixin.get_environment_params() method that allows authenticated users with exporttemplate or configtemplate permissions to execute arbitrary code by specifying malicious Python callables in the environment_params field. Attackers can bypass Jinja2 SandboxedEnvironment protections by setting the finalize parameter to any importable Python callable such as subprocess.getoutput, which is invoked on every rendered expression outside the sandbox's call interception mechanism, achieving remote code execution as the NetBox service user.
AI Analysis
Technical Summary
CVE-2026-29514 is a remote code execution vulnerability affecting netbox-community's NetBox product versions 4.3.5 through 4.5.4. The issue arises in the RenderTemplateMixin.get_environment_params() method, where authenticated users with specific permissions (exporttemplate or configtemplate) can inject malicious Python callables into the environment_params field. By setting the finalize parameter to an importable Python callable such as subprocess.getoutput, attackers can bypass the Jinja2 SandboxedEnvironment's call interception mechanism. This results in arbitrary code execution with the privileges of the NetBox service user.
Potential Impact
Successful exploitation allows authenticated users with exporttemplate or configtemplate permissions to execute arbitrary code on the NetBox server as the service user. This can lead to full compromise of the affected system depending on the privileges of the NetBox service account. The vulnerability is rated high severity with a CVSS 4.0 score of 8.7, indicating significant impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict exporttemplate and configtemplate permissions to trusted users only. Monitor for suspicious activity related to template exports or configurations. Avoid exposing NetBox interfaces to untrusted networks to reduce risk.
CVE-2026-29514: CWE-183: Permissive List of Allowed Inputs in netbox-community netbox
Description
NetBox versions 4.3.5 through 4.5.4 contain a remote code execution vulnerability in the RenderTemplateMixin.get_environment_params() method that allows authenticated users with exporttemplate or configtemplate permissions to execute arbitrary code by specifying malicious Python callables in the environment_params field. Attackers can bypass Jinja2 SandboxedEnvironment protections by setting the finalize parameter to any importable Python callable such as subprocess.getoutput, which is invoked on every rendered expression outside the sandbox's call interception mechanism, achieving remote code execution as the NetBox service user.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-29514 is a remote code execution vulnerability affecting netbox-community's NetBox product versions 4.3.5 through 4.5.4. The issue arises in the RenderTemplateMixin.get_environment_params() method, where authenticated users with specific permissions (exporttemplate or configtemplate) can inject malicious Python callables into the environment_params field. By setting the finalize parameter to an importable Python callable such as subprocess.getoutput, attackers can bypass the Jinja2 SandboxedEnvironment's call interception mechanism. This results in arbitrary code execution with the privileges of the NetBox service user.
Potential Impact
Successful exploitation allows authenticated users with exporttemplate or configtemplate permissions to execute arbitrary code on the NetBox server as the service user. This can lead to full compromise of the affected system depending on the privileges of the NetBox service account. The vulnerability is rated high severity with a CVSS 4.0 score of 8.7, indicating significant impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict exporttemplate and configtemplate permissions to trusted users only. Monitor for suspicious activity related to template exports or configurations. Avoid exposing NetBox interfaces to untrusted networks to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-03-04T15:39:26.872Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f8cb08cbff5d86103668a6
Added to database: 5/4/2026, 4:36:24 PM
Last enriched: 5/4/2026, 4:52:04 PM
Last updated: 5/5/2026, 5:54:31 AM
Views: 2
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.