{"id":"CVE-2025-49142","published":"2025-06-10T15:40:21Z","modified":"2025-06-10T17:10:21Z","title":"Nautobot vulnerable to secrets exposure and data manipulation through Jinja2 templating","vendor":"nautobot","product":"nautobot","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00385,"percentile":0.3342,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/nautobot/nautobot/security/advisories/GHSA-wjw6-95h5-4jpx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nautobot/nautobot/pull/7417","tags":["x_refsource_MISC"]},{"url":"https://github.com/nautobot/nautobot/pull/7429","tags":["x_refsource_MISC"]},{"url":"https://docs.djangoproject.com/en/4.2/ref/templates/api/#alters-data-description","tags":["x_refsource_MISC"]},{"url":"https://jinja.palletsprojects.com/en/stable/sandbox","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":6.68},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"nautobot","affectedVersions":[{"vendor":"nautobot","product":"nautobot","versions":["< 1.6.32",">= 2.0.0, < 2.4.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-10T17:10:17.082932Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nautobot","vulnerableRanges":["<1.6.32",">=2.0.0, <2.4.10"],"patched":["1.6.32","2.4.10"],"from":["GHSA-wjw6-95h5-4jpx","PYSEC-2025-79"],"provenance":"source"}],"summary":{"text":"Nautobot, a Network Source of Truth and Network Automation Platform, contains a flaw in its Jinja2 templating feature used by computed fields, custom links and similar components, where insufficient security configuration allows templated content to be abused. An attacker with network access and low-privilege authenticated access can craft templates that either expose the values of Secrets stored in Nautobot or call Python APIs to modify data, bypassing the viewing user's object permissions, with the attack being harder to execute and requiring no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:30Z"},"euvd":{"id":"EUVD-2025-17714","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-32979","published":"2024-05-01","fixed":"2.2.3","kev":false},{"cve":"CVE-2024-34707","published":"2024-05-13","fixed":"2.2.4","kev":false},{"cve":"CVE-2024-36112","published":"2024-05-28","fixed":"2.3.0b1","kev":false,"link":{"from":"CVE-2024-36112","to":"CVE-2025-49142","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:nautobot","fromFixed":"2.3.0b1","toFixed":"2.4.10","daysApart":378},{"kind":"version-step","provenance":"source","package":"PyPI:nautobot","fromFixed":"1.6.23","toFixed":"1.6.32","daysApart":378}]}},{"cve":"CVE-2025-49142","published":"2025-06-10","fixed":"2.4.10","kev":false},{"cve":"CVE-2025-49143","published":"2025-06-10","fixed":"2.4.10","kev":false},{"cve":"CVE-2026-34203","published":"2026-03-31","fixed":"3.0.10","kev":false,"link":{"from":"CVE-2025-49142","to":"CVE-2026-34203","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:nautobot","fromFixed":"2.4.10","toFixed":"2.4.30","daysApart":294}]}},{"cve":"CVE-2026-44794","published":"2026-05-28","fixed":"3.1.2","kev":false}],"package":"PyPI:nautobot"}}