Improper Neutralization of Special Elements Used in a Template Engine Affecting nautobot package, versions [,1.6.32)[2.0.0,2.4.10)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-NAUTOBOT-10337821
  • published11 Jun 2025
  • disclosed10 Jun 2025
  • creditmzbroch

Introduced: 10 Jun 2025

NewCVE-2025-49142  (opens in a new tab)
CWE-1336  (opens in a new tab)

How to fix?

Upgrade nautobot to version 1.6.32, 2.4.10 or higher.

Overview

nautobot is a Source of truth and network automation platform.

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine due to the misconfiguration of the Jinja2 templating feature. An attacker can expose secret values and manipulate data by configuring the templating feature to call Python APIs or expose secrets during content rendering.

Note: This is only exploitable if object permissions are not properly configured to restrict sensitive actions to trusted users only.

Workaround

This vulnerability can be mitigated by configuring object permissions appropriately to limit actions such as extras.add_secret, extras.change_secret, extras.view_secret, extras.add_computedfield, extras.change_computedfield, extras.add_customlink, extras.change_customlink, extras.add_jobbutton, extras.change_jobbutton to only trusted users.

CVSS Base Scores

version 4.0
version 3.1