CVE-2025-49142: Nautobot vulnerable to secrets exposure and data manipulation through Jinja2 templating
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.
Published Jun 10, 2025 · Updated May 19, 2026
Affected packages
nautobot
- Ecosystem
- PyPI
- Affected
- < 1.6.32
- Fixed in
- 1.6.32
- Check
pip show nautobot
nautobot
- Ecosystem
- PyPI
- Affected
- >= 2.0.0, < 2.4.10
- Fixed in
- 2.4.10
- Check
pip show nautobot
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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:
- 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.
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.add_secretextras.change_secretextras.view_secretextras.add_computedfieldextras.change_computedfieldextras.add_customlinkextras.change_customlinkextras.add_jobbuttonextras.change_jobbutton
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
Credited to mzbroch.
References
- https://github.com/nautobot/nautobot/security/advisories/GHSA-wjw6-95h5-4jpx
- https://nvd.nist.gov/vuln/detail/CVE-2025-49142
- 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
- https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2025-74.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/nautobot/PYSEC-2025-79.yaml
- https://github.com/advisories/GHSA-wjw6-95h5-4jpx
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-83801
Nautobot: Stored cross-site scripting (XSS) in object create/edit form help text
medium5.4Sep 22, 2026CVE-2026-83805
Nautobot: Authorization bypass in approval workflow REST API allows self-approval and unauthorized activation of scheduled jobs
medium6.4Sep 22, 2026CVE-2026-44794
Nautobot: REST API permits creation of GenericForeignKey references to objects that the user should not be able to reference
medium5.4May 13, 2026CVE-2026-44796
Nautobot: Object bulk rename UI actions vulnerable to denial of service by crafted regular expression (REDoS)
medium6.5May 13, 2026CVE-2026-44797
Nautobot: Webhook definitions could be used for server-side request forgery (SSRF)
high8.5May 13, 2026CVE-2026-44798
Nautobot: GitRepository.current_head field should not be writable through REST API
high7.1May 13, 2026
