Nautobot vulnerable to secrets exposure and data manipulation through Jinja2 templating
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1336.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nautobot | nautobot | before 1.6.32; 2.0.0 to before 2.4.10 | 1.6.32, 2.4.10 | Patch available | CNA |
| — | nautobot (PyPI) | before 1.6.32 | 1.6.32 | Patch available | GHSA-wjw6-95h5-4jpx |
| — | nautobot (PyPI) | 2.0.0 to before 2.4.10 | 2.4.10 | Patch available | GHSA-wjw6-95h5-4jpx |
- nautobot Vendornautobot Affected before 1.6.32; 2.0.0 to before 2.4.10 Fixed in 1.6.32, 2.4.10 Patch available CNA
- nautobot (PyPI) Vendor— Affected before 1.6.32 Fixed in 1.6.32 Patch available GHSA-wjw6-95h5-4jpx
- nautobot (PyPI) Vendor— Affected 2.0.0 to before 2.4.10 Fixed in 2.4.10 Patch available GHSA-wjw6-95h5-4jpx
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:networktocode:nautobot:*:*:*:*:*:*:*:* | before 1.6.32; 2.0.0 to before 2.4.10 | Vulnerable | Networktocode |
- cpe:2.3:a:networktocode:nautobot:*:*:*:*:*:*:*:* Versions before 1.6.32; 2.0.0 to before 2.4.10 Vulnerable ·Networktocode
Remediation
- Fix · CNA nautobot (nautobot) Fixed in 1.6.32, 2.4.10
- Fix · GHSA-wjw6-95h5-4jpx nautobot (PyPI) Fixed in 1.6.32 Advisory →
- Fix · GHSA-wjw6-95h5-4jpx nautobot (PyPI) Fixed in 2.4.10 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-49142
- 2026-10-03 Alias added: GHSA-wjw6-95h5-4jpx
References
Advisory 2
Other 5
- https://docs.djangoproject.com/en/4.2/ref/templates/api/#alters-data-description
- https://jinja.palletsprojects.com/en/stable/sandbox
- https://github.com/nautobot/nautobot
- 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
More nautobot vulnerabilities
- TI-2023-10938 Remote code execution in Jinja2 template rendering in Nautobot CVSS 3.1CRITICAL 9.8
- TI-2026-32681 Nautobot: Webhook definitions could be used for server-side request forgery (SSRF) CVSS 3.1HIGH 8.5
- TI-2024-23004 Nautobot's BANNER_* configuration can be used to inject arbitrary HTML content into Nautobot pages CVSS 3.1HIGH 7.5
- TI-2024-21845 Reflected Cross-site Scripting potential in all object list views in Nautobot CVSS 3.1HIGH 7.5
- TI-2024-15445 Nautobot has XSS potential in rendered Markdown fields CVSS 3.1HIGH 7.1
- TI-2023-26544 nautobot has XSS potential in custom links, job buttons, and computed fields CVSS 3.1HIGH 7.1
Sources
- CVE-2025-49142 · CVE Program
- CVE-2025-49142 · NVD
- FIRST EPSS
- GHSA-wjw6-95h5-4jpx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences