NetBox
NetBox 4.3.5 - 4.5.4 RCE via RenderTemplateMixin
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.3.5, <= 4.5.4
Mitigation
The record names no fix. Check the vendor advisory below.
References
- Patch github.com/netbox-community/netbox/pull/22078
- Patch github.com/netbox-community/netbox/pull/22170
- Release notes github.com/netbox-community/netbox/releases/ta…
1 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://chocapikk.com/posts/2026/netbox-export-template-rce/ | unknown | 14 Nov 2026 |