{"id":"CVE-2026-44798","published":"2026-05-28T16:57:45Z","modified":"2026-05-28T19:02:15Z","title":"Nautobot: GitRepository.current_head field should not be writable through REST API","vendor":"nautobot","product":"nautobot","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00277,"percentile":0.2061,"provenance":"source"},"cwes":[{"id":"CWE-471","name":"Modification of Assumed-Immutable Data (MAID)"},{"id":"CWE-749","name":"Exposed Dangerous Method or Function"}],"references":[{"url":"https://github.com/nautobot/nautobot/security/advisories/GHSA-p3hx-pwf3-j8wr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nautobot/nautobot/commit/9deddfc91ad9260ad17b5e20084e9e2d15be3609","tags":["x_refsource_MISC"]},{"url":"https://github.com/nautobot/nautobot/commit/c46f97040b2bde4320be36b23577f19a8bcbd8c3","tags":["x_refsource_MISC"]},{"url":"https://github.com/nautobot/nautobot/releases/tag/v2.4.33","tags":["x_refsource_MISC"]},{"url":"https://github.com/nautobot/nautobot/releases/tag/v3.1.2","tags":["x_refsource_MISC"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":4.12},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"nautobot","affectedVersions":[{"vendor":"nautobot","product":"nautobot","versions":[">= 3.0.0a2, < 3.1.2","< 2.4.33"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-28T19:01:54.215823Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nautobot","vulnerableRanges":[">=3.0.0a2, <3.1.2","<2.4.33",">=3.0.0, <3.1.2"],"patched":["3.1.2","2.4.33"],"from":["GHSA-p3hx-pwf3-j8wr","PYSEC-2026-2228"],"provenance":"source"}],"summary":{"text":"Nautobot, the network source-of-truth and automation platform, exposes a GitRepository record's current_head field through its REST API, even though that field was never meant to be user-editable. An attacker who holds a valid account with permission to add or change GitRepository records, and who can reach the REST API over the network, can set current_head directly, causing Nautobot's local repository clone to check out the wrong commit or to become unusable until it is manually repaired.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:12Z"},"euvd":{"id":"EUVD-2026-32973","exploited":false,"provenance":"source"}}