Improper Neutralization of Special Elements Used in a Template Engine in Nautobot - #VU139395
Published: July 27, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary SQL queries and execute arbitrary code.
The vulnerability exists due to improper neutralization of special elements used in a template engine in the Jinja2 sandboxed template renderer when rendering a user-authored Jinja2 template with a live database object in context. A remote user can author a crafted template to execute arbitrary SQL queries and execute arbitrary code.
Code execution on the database host is possible when the database role is a PostgreSQL superuser.