CVE-2026-29514NetBox 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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- netbox-community netbox: affected: 4.3.5 to 4.5.4
Vendor advisories:
- https://github.com/netbox-community/netbox/pull/22078 (patch)
- https://github.com/netbox-community/netbox/pull/22170 (patch)
- https://github.com/netbox-community/netbox/releases/tag/v4.6.1 (release-notes)
- https://github.com/netbox-community/netbox/commit/d124c5fe86e12aad61285133c0caf16adcda8f2e (patch)
References
- https://chocapikk.com/posts/2026/netbox-export-template-rce/
- 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://github.com/netbox-community/netbox/commit/d124c5fe86e12aad61285133c0caf16adcda8f2e
- https://www.vulncheck.com/advisories/netbox-rce-via-rendertemplatemixin
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.