---
id: CVE-2026-29514
title: NetBox 4.3.5 - 4.5.4 RCE via RenderTemplateMixin
summary: >-
  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 arb…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-183
vendor: netbox-community
product: netbox
affected:
  - netbox >= 4.3.5 <= 4.5.4
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-05-04T16:59:06.882812Z'
exploitAvailable: true
published: '2026-05-04'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T14:01:54.347Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-29514'
references:
  - url: 'https://chocapikk.com/posts/2026/netbox-export-template-rce/'
  - url: 'https://github.com/netbox-community/netbox/issues/22079'
  - url: 'https://github.com/netbox-community/netbox/pull/22078'
  - url: 'https://github.com/netbox-community/netbox/pull/22170'
  - url: 'https://github.com/netbox-community/netbox/releases/tag/v4.6.1'
    label: netbox 4.6.1 Release Notes
  - url: >-
      https://github.com/netbox-community/netbox/commit/d124c5fe86e12aad61285133c0caf16adcda8f2e
  - url: 'https://www.vulncheck.com/advisories/netbox-rce-via-rendertemplatemixin'
tags:
  - cve.org
  - exploit-available
epss: 0.00782
epssPercentile: 0.56249
ingestedAt: '2026-11-08T14:51:22.459Z'
---

## Overview

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

- `netbox >= 4.3.5 <= 4.5.4`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
