CVE-2026-29514
HIGH EPSS 51.4%
Published May 4, 20261mo ago · Modified Jun 17, 20261w ago
8.7 CVSS 4.0
Published May 4, 2026 1mo ago
Last Modified Jun 17, 2026 1w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope X
Threat Intelligence
EPSS Exploit Probability
51.4% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-183
References 7
- chocapikk.com https://chocapikk.com/posts/2026/netbox-export-template-rce/
- github.com https://github.com/netbox-community/netbox/commit/d124c5fe86e12aad61285133c0caf16adcda8f2e
- github.com https://github.com/netbox-community/netbox/issues/22079
- github.com https://github.com/netbox-community/netbox/pull/22078
- github.com https://github.com/netbox-community/netbox/pull/22170
- github.com https://github.com/netbox-community/netbox/releases/tag/v4.6.1
- vulncheck.com https://www.vulncheck.com/advisories/netbox-rce-via-rendertemplatemixin
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.