Code Injection in Nautobot - CVE-2023-25657
Published: February 21, 2023 / Updated: May 11, 2026
Nautobot
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.