CVE-2025-49142: Nautobot vulnerable to secrets exposure and data manipulation through Jinja2 templating
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:
- 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.
- 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.
References
- docs.djangoproject.com/en/4.2/ref/templates/api/
- github.com/advisories/GHSA-wjw6-95h5-4jpx
- github.com/nautobot/nautobot
- github.com/nautobot/nautobot/pull/7417
- github.com/nautobot/nautobot/pull/7429
- github.com/nautobot/nautobot/security/advisories/GHSA-wjw6-95h5-4jpx
- jinja.palletsprojects.com/en/stable/sandbox
- nvd.nist.gov/vuln/detail/CVE-2025-49142
Code Behaviors & Features
Detect and mitigate CVE-2025-49142 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →