CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-49142: Nautobot vulnerable to secrets exposure and data manipulation through Jinja2 templating

6.0 CVSS

Description

Nautobot is a Network Source of Truth and Network Automation Platform. All users of Nautobot versions prior to 2.4.10 or prior to 1.6.32 are potentially affected. Due to insufficient security configuration of the Jinja2 templating feature used in computed fields, custom links, etc. in Nautobot, a malicious user could configure this feature set in ways that could expose the value of Secrets defined in Nautobot when the templated content is rendered or that could call Python APIs to modify data within Nautobot when the templated content is rendered, bypassing the object permissions assigned to the viewing user. Nautobot versions 1.6.32 and 2.4.10 will include fixes for the vulnerability. The vulnerability can be partially mitigated by configuring object permissions appropriately to limit certain actions to only trusted users.

Classification

CVE ID: CVE-2025-49142

CVSS Base Severity: MEDIUM

CVSS Base Score: 6.0

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:L

Problem Types

CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Affected Products

Vendor: nautobot

Product: nautobot

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 12.36% (scored less or equal to compared to others)

EPSS Date: 2025-06-17 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: none

SSVC Technical Impact: partial

SSVC Automatable: false

References

https://nvd.nist.gov/vuln/detail/CVE-2025-49142
https://github.com/nautobot/nautobot/security/advisories/GHSA-wjw6-95h5-4jpx
https://github.com/nautobot/nautobot/pull/7417
https://github.com/nautobot/nautobot/pull/7429
https://docs.djangoproject.com/en/4.2/ref/templates/api/#alters-data-description
https://jinja.palletsprojects.com/en/stable/sandbox

Timeline