NetBox 4.3.5 - 4.5.4 RCE via RenderTemplateMixin
41Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 8.7epss 0.8%
exploitation probability
0.8%top 47% of all CVEs
observed exploitation
nono source reports it
1 public exploit(s)
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:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products
netbox-community · netboxpublic PoCs found — 1
cve_referencechocapikk.com/posts/2026/netbox-export-template-rce/unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
References
https://chocapikk.com/posts/2026/netbox-export-template-rce/https://github.com/netbox-community/netbox/commit/d124c5fe86e12aad61285133c0caf16adcda8f2ehttps://github.com/netbox-community/netbox/issues/22079https://github.com/netbox-community/netbox/pull/22078https://github.com/netbox-community/netbox/pull/22170https://github.com/netbox-community/netbox/releases/tag/v4.6.1https://www.vulncheck.com/advisories/netbox-rce-via-rendertemplatemixin