High severity · published May 4, 2026
CVE-2026-29514
NetBox 4.3.5 - 4.5.4 RCE via RenderTemplateMixin
8.8
CVSS
0.8%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 56% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NE
netbox · netbox-community
4.3.5 through 4.5.4 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-29514
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-29514
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
More from netbox
7.6
CVE-2026-104073
NetBox 2.9.5 < 4.7.0 Session Hijacking via Custom Links
6.5
CVE-2026-86175
NetBox through 4.7.0 Credential Disclosure via REST and GraphQL APIs
4.3
CVE-2026-86176
NetBox through 4.7.0 Information Disclosure via REST and GraphQL APIs
