CVE 8.7 HIGH

NetBox 4.3.5 – 4.5.4 RCE via RenderTemplateMixin_CVE-2026-29514

8.7 / 10
HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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 Analysis

Remote code execution vulnerability in NetBox via RenderTemplateMixin

Basic Information

ID CVE-2026-29514
Source VulnCheck
Published May 4, 2026 at 16:05

Affected Product

Vendor netbox-community
Product netbox
Version 4.3.5
Affected Versions netbox-community netbox 4.3.5

CWE Classification

AI Assessment

AI Score 8.7 / 10
AI Severity High
Vendor NetBox Community
Product NetBox
Version 4.3.5-4.5.4

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.