CVE-2024-34707Networktocode Nautobot
Medium 4.8
Follow: this CVE · Networktocode · Networktocode Nautobot We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 3.1
- 4.8
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 46
- Auth required
- Yes
- Published
- May 14, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
What happens
Nautobot is a Network Source of Truth and Network Automation Platform. A Nautobot user with admin privileges can modify the `BANNER_TOP`, `BANNER_BOTTOM`, and `BANNER_LOGIN` configuration settings via the `/admin/constance/config/` endpoint. Normally these settings are used to provide custom banner text at the top and bottom of all Nautobot web pages (or specifically on the login page in the case of `BANNER_LOGIN`) but it was reported that an admin user can make use of these settings to inject arbitrary HTML, potentially exposing Nautobot users to security issues such as cross-site scripting (stored XSS). The vulnerability is fixed in Nautobot 1.6.22 and 2.2.4.
What to do
- Apply the vendor's security update for Nautobot.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | nautobot |
< 1.6.22 |
1.6.22 |
pip install "nautobot>=1.6.22" |
| PyPI | nautobot |
≥ 2.0.0 < 2.2.4 |
2.2.4 |
pip install "nautobot>=2.2.4" |
| PyPI | nautobot |
< 1.6.22 |
1.6.22 |
pip install "nautobot>=1.6.22" |
| PyPI | nautobot |
≥ 2.0.0 < 2.2.4 |
2.2.4 |
pip install "nautobot>=2.2.4" |
Per OSV / GitHub Advisories (GHSA-r2hr-4v48-fjv3, PYSEC-2026-1688). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| networktocode | nautobot | < 1.6.22 |
| networktocode | nautobot | ≥ 2.0.0 < 2.2.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Exploit Patch
- github.com Exploit Patch
- github.com Patch Vendor Advisory