CVE-2026-29514HIGH 8.8EPSS p51.2%
CVE-2026-29514CVE-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.
Scoring
| CVSS 3.1 | 8.8 (HIGH) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 0.78% probability of exploitation · percentile 51.2% · 2026-06-19T12:03:05Z |
| Published | 2026-05-04 |
| Last modified | 2026-05-21 |
Underlying weaknesses· 1
References
- https://chocapikk.com/posts/2026/netbox-export-template-rce/
- https://github.com/netbox-community/netbox/commit/d124c5fe86e12aad61285133c0caf16adcda8f2e
- https://github.com/netbox-community/netbox/issues/22079
- https://github.com/netbox-community/netbox/pull/22078
- https://github.com/netbox-community/netbox/pull/22170
- https://github.com/netbox-community/netbox/releases/tag/v4.6.1
- https://www.vulncheck.com/advisories/netbox-rce-via-rendertemplatemixin
1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Permissive List of Allowed Inputscwe-183 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.