CVE-2026-29514CWE-183

NetBox 4.3.5 - 4.5.4 RCE via RenderTemplateMixin

High · published May 4, 2026

CVSS v4.0
8.7
EPSS
1%
Percentile
65.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
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
EPSS
0.01102 · 65.4th percentile
Weakness
CWE-183 · Permissive List of Allowed Inputs
Published
2026-05-04T16:05Z
EPSS history
Timeline
  • 04 MAY 16:05Z
    NetBox 4.3.5 - 4.5.4 RCE via RenderTemplateMixin
    cvelistv5