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

Published Jun 10, 2025
·
Updated

Impact What kind of vulnerability is it? Who is impacted?

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:

1. 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. 2. A malicious user could configure this feature set in ways 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.

Patches Has the problem been patched? What versions should users upgrade to?

Nautobot versions 1.6.32 and 2.4.10 will include fixes for the vulnerability.

Workarounds Is there a way for users to fix or remediate the vulnerability without upgrading?

The vulnerability can be partially mitigated by configuring object permissions appropriately to limit the below actions to only trusted users:

- extras.addsecret - extras.changesecret - extras.viewsecret - extras.addcomputedfield - extras.changecomputedfield - extras.addcustomlink - extras.changecustomlink - extras.addjobbutton - extras.changejobbutton

References Are there any links users can visit to find out more?

- https://jinja.palletsprojects.com/en/stable/sandbox/ - https://docs.djangoproject.com/en/4.2/ref/templates/api/#alters-data-description - https://github.com/nautobot/nautobot/pull/7417 - https://github.com/nautobot/nautobot/pull/7429

Other sources

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.

MITRE

Affected Software

4 affected componentsFixes available
pip/nautobot>=2.0.0<2.4.10
2.4.10
pip/nautobot<1.6.32
1.6.32
Networktocode Nautobot<1.6.32
Networktocode Nautobot>=2.0.0<2.4.10

Event History

Jun 10, 2025
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
RemedyAffected Software
Advisory Published
via GitHub·08:17 PM
Data Sourced
via GitHub·08:17 PM
DescriptionWeaknessAffected Software
Aug 3, 57609
Event
via NVD·05:37 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-49142?

CVE-2025-49142 is considered a high severity vulnerability due to the potential exploitation of insufficient security configurations.

2

Who is affected by CVE-2025-49142?

All users of Nautobot versions prior to 2.4.10 or prior to 1.6.32 are potentially affected by CVE-2025-49142.

3

How do I fix CVE-2025-49142?

To fix CVE-2025-49142, update Nautobot to version 2.4.10 or 1.6.32.

4

What type of vulnerability is CVE-2025-49142?

CVE-2025-49142 is a vulnerability resulting from insufficient security configuration in the Jinja2 templating feature.

5

What are the consequences of CVE-2025-49142 if exploited?

Exploitation of CVE-2025-49142 may lead to unauthorized access and manipulation of computed fields and custom links.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203