CVE-2026-29514
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.
Weakness
- CWE-183: Permissive List of Allowed Inputs
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-05-04 |
Timeline
- 2026-05-04Published by the CNA16:05 UTC
- 2026-05-04CISA SSVC decision recordedsame day
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| netbox netbox | from 4.3.5 through 4.5.4no fix listed | not listed |
| netbox-community netbox | from 4.3.5 through 4.5.4no fix listed | not listed |
References
- https://github.com/netbox-community/netbox/commit/d124c5fe86e12aad61285133c0caf16adcda8f2e
- https://github.com/netbox-community/netbox/pull/22078
- https://github.com/netbox-community/netbox/pull/22170
- https://chocapikk.com/posts/2026/netbox-export-template-rce/
- https://github.com/netbox-community/netbox/issues/22079
- https://github.com/netbox-community/netbox/releases/tag/v4.6.1
- https://www.vulncheck.com/advisories/netbox-rce-via-rendertemplatemixin
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-29514'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-29514'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-29514'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-29514'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).