CVE-2026-29514

8.8

NetBox Labs · NetBox

NetBox versions 4.3.5 through 4.5.4 contain a remote code execution vulnerability in the RenderTemplateMixin component that allows authenticated low-privilege users to execute arbitrary code.

Executive summary

An authenticated remote code execution vulnerability in NetBox versions 4.3.5 through 4.5.4 allows low-privilege users with export or config template permissions to execute arbitrary system commands.

Vulnerability

This is an improper control of generation of code flaw in the RenderTemplateMixin.get_environment_params() method, where the application resolves user-supplied Jinja2 environment parameters using Django import_string without an allowlist, requiring low privileges for exploitation.

Business impact

A successful exploit allows an authenticated attacker to achieve remote code execution as the NetBox service user, leading to complete system compromise, unauthorized data access, and potential lateral movement within the internal network. The high severity of this flaw is reflected in its CVSS score of 8.8, highlighting the critical threat to infrastructure confidentiality, integrity, and availability.

Remediation

Immediate Action: Update NetBox to version 4.6.1 or later where the template parameter resolution flaw is resolved.

Proactive Monitoring: Monitor system logs for unusual process execution spawning from the NetBox service account, and review export or config template creation activities.

Compensating Controls: Restrict export and config template creation permissions exclusively to trusted administrative users until patches can be deployed.

Exploitation status

Public Exploit Available: Yes, a public exploit and technical write-up are available via Chocapikk's cybersecurity blog and referenced research materials.

Analyst recommendation

Given the availability of technical details and proof-of-concept write-ups detailing how to bypass the Jinja2 sandbox, organizations running vulnerable NetBox instances face significant risk. Administrators must apply the vendor security updates immediately to version 4.6.1 or later to eliminate the remote code execution vector.

Sources

Originally found and disclosed by Valentin Lobstein (Chocapikk), per the CVE Program record.