CVE-2026-29514
8.7high
NetBox 4.3.5 - 4.5.4 RCE via RenderTemplateMixin
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.81% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| netbox-community netbox | from 4.3.5 up to 4.5.4 | CVE List |
All scores
| VulnCheck | 8.7high CVSS:4.0 | 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 |
| VulnCheck | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
| https://chocapikk.com/posts/2026/netbox-export-template-rce/ | exploit, technical-description | |
| https://github.com/netbox-community/netbox/issues/22079 | issue-tracking | |
| https://github.com/netbox-community/netbox/pull/22078 | issue-tracking, patch | |
| https://github.com/netbox-community/netbox/pull/22170 | issue-tracking, patch | |
| https://github.com/netbox-community/netbox/releases/tag/v4.6.1 | release-notes | |
| https://github.com/netbox-community/netbox/commit/d124c5fe86e12aad61285133c0caf16adcda8f2e | patch | |
| https://www.vulncheck.com/advisories/netbox-rce-via-rendertemplatemixin | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-29514 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-29514 changed 2026-06-17 | Public domain |