CVE-2026-29514: NetBox 4.3.5 - 4.5.4 RCE via RenderTemplateMixin

Published May 4, 2026
·
Updated

NetBox versions 4.3.5 through 4.5.4 contain a remote code execution vulnerability in the RenderTemplateMixin.getenvironmentparams() method that allows authenticated users with exporttemplate or configtemplate permissions to execute arbitrary code by specifying malicious Python callables in the environmentparams 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 Software

1 affected component
netbox Netbox>=4.3.5<=4.5.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade netbox to a version that resolves this vulnerability.

    Fixed in 4.3.5 - 4.5.4
  2. Configuration

    Ensure environment_params used for Jinja2 SandboxedEnvironment rendering cannot be influenced by authenticated users with exporttemplate/configtemplate permissions to set finalize to arbitrary importable Python callables; validate/whitelist allowed finalize callable behavior or reject any values that enable callable injection.

    NetBox RenderTemplateMixin (template environment_params) environment_params = Do not allow user-supplied values that specify importable Python callables (e.g., attacker-controlled finalize parameter via environment_params)

Event History

May 4, 2026
CVE Published
via MITRE·04:05 PM
Data Sourced
via MITRE·04:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-29514?

CVE-2026-29514 is classified as a critical vulnerability due to its potential for remote code execution by authenticated users.

2

How do I fix CVE-2026-29514?

To mitigate CVE-2026-29514, it is recommended to upgrade NetBox to a version later than 4.5.4.

3

Who is affected by CVE-2026-29514?

CVE-2026-29514 affects users of NetBox versions 4.3.5 to 4.5.4 who have exporttemplate or configtemplate permissions.

4

What type of vulnerability is CVE-2026-29514?

CVE-2026-29514 is a remote code execution vulnerability that allows execution of arbitrary code.

5

What components of NetBox are involved in CVE-2026-29514?

CVE-2026-29514 involves the RenderTemplateMixin.get_environment_params() method in NetBox.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203