Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. nautobot
  4. ›
  5. CVE-2025-49142

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

June 10, 2025

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.

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 →

Affected versions

All versions before 1.6.32, all versions starting from 2.0.0 before 2.4.10

Fixed versions

  • 1.6.32
  • 2.4.10

Solution

Upgrade to versions 1.6.32, 2.4.10 or above.

Weakness

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Source file

pypi/nautobot/CVE-2025-49142.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:57 +0000.