Intel

AIKIDO-2026-716658

nautobot is vulnerable to Information Disclosure

Information DisclosureGHSA-6jmc-h6f2-46j4 Published 5 days ago

85

High Risk

This Affects:

PYTHONnautobot
0.0.1 - 2.4.37
Fixed in 2.4.38
3.0.0 - 3.1.8
Fixed in 3.2.0
Are you affected? Scan for Free

TL;DR

Nautobot injects the entire Django settings object into template contexts and the settings_or_config filter resolves any requested name directly against Django settings. Any authenticated user who can render a Jinja2 template can read sensitive configuration values such as SECRET_KEY, database credentials, and integration secrets. No elevated permissions are required to reach the disclosure through template rendering. The fix restricts the filter and the template settings context to a non-sensitive allowlist of settings and configuration values.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you allow authenticated users to render Jinja2 templates.

Background info

nautobot is vulnerable to Information Disclosure in versions 0.0.1 - 2.4.37 and 3.0.0 - 3.1.8.

How to fix this

Upgrade the nautobot library to the patch version.