Nautobot: GitRepository.current_head field should not be writable through REST API
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
Nautobot is a Network Source of Truth and Network Automation Platform. Prior to 2.4.33 and 3.1.2, a user with access to add/change a GitRepository record could use the REST API to directly set the current_head field on the record, which was not intended to be user-editable. Doing so could cause Nautobot's local clone(s) of the relevant repository to checkout a commit other than the latest commit on the specified branch (resulting in misleading state), or potentially to be unable to make use of the repository at all (until manually remediated) due to the current_head pointing to a nonexistent commit hash or malformed value. This vulnerability is fixed in 2.4.33 and 3.1.2.
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 | 3.0.0a2 to before 3.1.2; before 2.4.33 | 3.1.2, 2.4.33 | Patch available | CNA |
| — | nautobot (PyPI) | 3.0.0a2 to before 3.1.2 | 3.1.2 | Patch available | GHSA-p3hx-pwf3-j8wr |
| — | nautobot (PyPI) | before 2.4.33 | 2.4.33 | Patch available | GHSA-p3hx-pwf3-j8wr |
- nautobot Vendornautobot Affected 3.0.0a2 to before 3.1.2; before 2.4.33 Fixed in 3.1.2, 2.4.33 Patch available CNA
- nautobot (PyPI) Vendor— Affected 3.0.0a2 to before 3.1.2 Fixed in 3.1.2 Patch available GHSA-p3hx-pwf3-j8wr
- nautobot (PyPI) Vendor— Affected before 2.4.33 Fixed in 2.4.33 Patch available GHSA-p3hx-pwf3-j8wr
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:networktocode:nautobot:*:*:*:*:*:*:*:* | before 2.4.33; 3.0.0 to before 3.1.2 | Vulnerable | Networktocode |
- cpe:2.3:a:networktocode:nautobot:*:*:*:*:*:*:*:* Versions before 2.4.33; 3.0.0 to before 3.1.2 Vulnerable ·Networktocode
Remediation
- Fix · CNA nautobot (nautobot) Fixed in 3.1.2, 2.4.33
- Fix · GHSA-p3hx-pwf3-j8wr nautobot (PyPI) Fixed in 3.1.2 Advisory →
- Fix · GHSA-p3hx-pwf3-j8wr nautobot (PyPI) Fixed in 2.4.33 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-44798
- 2026-10-03 Alias added: GHSA-p3hx-pwf3-j8wr
References
Patch 3
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-2026-44798 · CVE Program
- CVE-2026-44798 · NVD
- FIRST EPSS
- GHSA-p3hx-pwf3-j8wr · 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