CVE Catalog

CVE-2026-29514

High
Published: Translated: NVD NIST

Summary

NetBox versions 4.3.5 through 4.5.4 contain a remote code execution vulnerability in the RenderTemplateMixin.get_environment_params() method. It allows authenticated users with exporttemplate or configtemplate permissions to execute arbitrary code by specifying malicious Python callables in the environment_params field.

Risk Assessment

Attackers can bypass Jinja2 SandboxedEnvironment protections, leading to remote code execution as the NetBox service user. This poses a serious threat to the integrity and security of the system.

Recommendation

It is recommended to update NetBox to the latest version to mitigate this vulnerability. Additionally, user permissions should be minimized and logs monitored for potential exploitation attempts.

Other vulnerabilities in NetBox

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS