Code Injection in Nautobot - CVE-2023-25657

 

Code Injection in Nautobot - CVE-2023-25657

Published: February 21, 2023 / Updated: May 11, 2026


Vulnerability identifier: #VU130966
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-25657
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Nautobot
Software vendor:
Nautobot

Description

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper sandboxing in the Jinja2 template rendering engine when rendering user-supplied template code. A remote user can provide a maliciously crafted template to execute arbitrary code.

The issue affects template rendering for extras.ComputedField, extras.CustomLink, extras.ExportTemplate, extras.Secret, and extras.Webhook, and also impacts other uses of nautobot.utilities.utils.render_jinja2.


Remediation

Install security update from vendor's website.

External links