Vulnerability · Published May 28, 2026 · Assigned by GitHub_M
CVE-2026-44798Nautobot: GitRepository.current_head field should not be writable through REST API
High 7.1
In plain English
A high-severity security flaw in nautobot from nautobot. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | nautobot | 3.1.2 | GHSA-p3hx-pwf3-j8wr |
| PyPI | nautobot | 2.4.33 | GHSA-p3hx-pwf3-j8wr |
| PyPI | nautobot | 2.4.33, 3.1.2 | PYSEC-2026-2228 |
Affected products (as reported)
Weakness: CWE-471, CWE-749 · Vector: 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 x_refsource_CONFIRM
- https://github.com/nautobot/nautobot/commit/9deddfc91ad9260ad17b5e20084e9e2d15be3609 x_refsource_MISC
- https://github.com/nautobot/nautobot/commit/c46f97040b2bde4320be36b23577f19a8bcbd8c3 x_refsource_MISC
- https://github.com/nautobot/nautobot/releases/tag/v2.4.33 x_refsource_MISC
- https://github.com/nautobot/nautobot/releases/tag/v3.1.2 x_refsource_MISC