Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://chocapikk.com/posts/2026/netbox-export-template-rce/
- https://github.com/netbox-community/netbox/commit/d124c5fe86e12aad61285133c0caf1
- https://github.com/netbox-community/netbox/issues/22079
- https://github.com/netbox-community/netbox/pull/22078
- https://github.com/netbox-community/netbox/pull/22170
- https://github.com/netbox-community/netbox/releases/tag/v4.6.1
- https://www.vulncheck.com/advisories/netbox-rce-via-rendertemplatemixin
FAQ
What is CVE-2026-29514?
CVE-2026-29514 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 conf...
How severe is CVE-2026-29514?
CVE-2026-29514 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-29514?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.