# CVE-2026-44798: Nautobot: GitRepository.current_head field should not be writable through REST API

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-05-13T15:31:04.000Z
- Modified: 2026-10-14T20:10:00.190Z
- Also known as: GHSA-p3hx-pwf3-j8wr, PYSEC-2026-2228
- Weaknesses: CWE-471, CWE-749
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- nautobot nautobot: >= 3.0.0a2, < 3.1.2; < 2.4.33
- nautobot (PyPI): from 3.0.0a2 before 3.1.2; before 2.4.33; from 3.0.0 before 3.1.2
- networktocode nautobot: before 2.4.33; from 3.0.0 before 3.1.2

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H`
- PyPA Advisory Database: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H`

## References

- <https://github.com/nautobot/nautobot/security/advisories/GHSA-p3hx-pwf3-j8wr> (fix, mitigation, patch, vendor-advisory, web)
- <https://github.com/nautobot/nautobot/commit/9deddfc91ad9260ad17b5e20084e9e2d15be3609> (fix, patch, web)
- <https://github.com/nautobot/nautobot/commit/c46f97040b2bde4320be36b23577f19a8bcbd8c3> (fix, patch, web)
- <https://github.com/nautobot/nautobot/releases/tag/v2.4.33> (advisory, product, release-notes, web)
- <https://github.com/nautobot/nautobot/releases/tag/v3.1.2> (advisory, product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44798> (advisory)
- <https://github.com/nautobot/nautobot> (package)

## Sources

- CVE List: [CVE-2026-44798](https://www.cve.org/CVERecord?id=CVE-2026-44798), CVE Terms of Use, modified 2026-05-28
- GitHub Advisory Database: [GHSA-p3hx-pwf3-j8wr](https://github.com/advisories/GHSA-p3hx-pwf3-j8wr), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-44798](https://nvd.nist.gov/vuln/detail/CVE-2026-44798), Public domain, modified 2026-10-14
- PyPA Advisory Database: [PYSEC-2026-2228](https://osv.dev/vulnerability/PYSEC-2026-2228), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-44798 · Whole record: https://cve.day/CVE-2026-44798.json · Rebuilt by cve.day 2026-11-25T22:59:22.983Z
