CVE-2026-29514

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductNetbox
PublishedMay 4, 2026
First seenMay 4, 2026
Weakness typeCWE-183CWE-183

How to fix

Affected products

ProductAffected versionsFixed in
netbox-community netbox4.3.5 ≤ v ≤ 4.5.4—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-29514 · Netbox · Dark Radar