CVE-2026-29514
NetBox 4.3.5 - 4.5.4 RCE via RenderTemplateMixin
- State
- Published
- Severity
- 8.7 High
- Published
- May 4, 2026
- Updated
- Jul 14, 2026
- Reserved
- Mar 4, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | 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 |
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-183 Permissive List of Allowed Inputs
Affected Products
| Product | Versions |
|---|---|
netboxnetbox-community |
|
References
- https://chocapikk.com/posts/2026/netbox-export-template-rce/technical-descriptionexploit
- https://github.com/netbox-community/netbox/issues/22079issue-tracking
- https://github.com/netbox-community/netbox/pull/22078issue-tracking
- https://github.com/netbox-community/netbox/pull/22170issue-tracking
- https://github.com/netbox-community/netbox/releases/tag/v4.6.1release-notes
- https://github.com/netbox-community/netbox/commit/d124c5fe86e12aad61285133c0caf16adcda8f2epatch
- https://www.vulncheck.com/advisories/netbox-rce-via-rendertemplatemixinthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.