CVE-2025-49142
Python vulnerability analysis and mitigation

Overview

CVE-2025-49142 affects Nautobot, a Network Source of Truth and Network Automation Platform, in versions prior to 2.4.10 and 1.6.32. The vulnerability stems from insufficient security configuration of the Jinja2 templating feature used in computed fields, custom links, and other components (NVD, GitHub Advisory).

Technical details

The vulnerability is classified as CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine) with a CVSS v4.0 score of 6.0 (Medium). The issue arises from inadequate security controls in the Jinja2 templating functionality, which could allow template content to be rendered in ways that bypass intended security restrictions (GitHub Advisory).

Impact

The vulnerability has two main impacts: 1) A malicious user could configure the templating feature to expose the value of Secrets defined in Nautobot when the templated content is rendered, and 2) An attacker could configure the feature to call Python APIs to modify data within Nautobot when the templated content is rendered, effectively bypassing the object permissions assigned to the viewing user (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Nautobot versions 1.6.32 and 2.4.10. As a workaround, organizations can partially mitigate the vulnerability by configuring object permissions appropriately to limit certain actions to only trusted users, including permissions for extras.addsecret, extras.changesecret, extras.viewsecret, extras.addcomputedfield, extras.changecomputedfield, extras.addcustomlink, extras.changecustomlink, extras.addjobbutton, and extras.change_jobbutton (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management