CVE-2026-29514

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.
Configurations

No configuration.

History

21 May 2026, 16:16

Type Values Removed Values Added
References
  • () https://github.com/netbox-community/netbox/commit/d124c5fe86e12aad61285133c0caf16adcda8f2e -
  • () https://github.com/netbox-community/netbox/pull/22170 -
  • () https://github.com/netbox-community/netbox/releases/tag/v4.6.1 -

04 May 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-04 17:16

Updated : 2026-06-17 10:29


NVD link : CVE-2026-29514

Mitre link : CVE-2026-29514

CVE.ORG link : CVE-2026-29514


JSON object : View

Products Affected

No product.

CWE
CWE-183

Permissive List of Allowed Inputs