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

- Severity: Medium 6.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-02)
- Published: 2025-06-10T15:40:21.105Z
- Modified: 2026-06-17T09:30:49.120Z
- Also known as: GHSA-wjw6-95h5-4jpx, PYSEC-2025-79, PYSEC-2025-74
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nautobot nautobot: < 1.6.32; >= 2.0.0, < 2.4.10
- nautobot (PyPI): before 1.6.32; from 2.0.0 before 2.4.10
- networktocode nautobot: before 1.6.32; from 2.0.0 before 2.4.10
- jinja2 (PyPI): no versions given

## Every score

- GitHub_M: CVSS:4.0 6.0 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/nautobot/nautobot/security/advisories/GHSA-wjw6-95h5-4jpx> (advisory, vendor-advisory, web)
- <https://github.com/nautobot/nautobot/pull/7417> (fix, patch, web)
- <https://github.com/nautobot/nautobot/pull/7429> (fix, patch, web)
- <https://docs.djangoproject.com/en/4.2/ref/templates/api/#alters-data-description> (product, web)
- <https://jinja.palletsprojects.com/en/stable/sandbox> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-49142> (advisory)
- <https://github.com/nautobot/nautobot> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2025-74.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/nautobot/PYSEC-2025-79.yaml> (web)

## Sources

- CVE List: [CVE-2025-49142](https://www.cve.org/CVERecord?id=CVE-2025-49142), CVE Terms of Use, modified 2025-06-10
- GitHub Advisory Database: [GHSA-wjw6-95h5-4jpx](https://github.com/advisories/GHSA-wjw6-95h5-4jpx), CC-BY-4.0, modified 2026-06-09
- NVD: [CVE-2025-49142](https://nvd.nist.gov/vuln/detail/CVE-2025-49142), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-74](https://osv.dev/vulnerability/PYSEC-2025-74), CC-BY-4.0, modified 2026-06-09
- PyPA Advisory Database: [PYSEC-2025-79](https://osv.dev/vulnerability/PYSEC-2025-79), CC-BY-4.0, modified 2026-06-09

---

Page: https://cve.day/CVE-2025-49142 · Whole record: https://cve.day/CVE-2025-49142.json · Rebuilt by cve.day 2026-11-25T22:58:59.021Z
