Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. nautobot
  4. ›
  5. CVE-2026-44798

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

May 13, 2026 (updated June 9, 2026)

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.

References

  • github.com/advisories/GHSA-p3hx-pwf3-j8wr
  • github.com/nautobot/nautobot/commit/9deddfc91ad9260ad17b5e20084e9e2d15be3609
  • github.com/nautobot/nautobot/commit/c46f97040b2bde4320be36b23577f19a8bcbd8c3
  • github.com/nautobot/nautobot/releases/tag/v2.4.33
  • github.com/nautobot/nautobot/releases/tag/v3.1.2
  • github.com/nautobot/nautobot/security/advisories/GHSA-p3hx-pwf3-j8wr
  • nvd.nist.gov/vuln/detail/CVE-2026-44798

Code Behaviors & Features

Detect and mitigate CVE-2026-44798 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.4.33, all versions starting from 3.0.0-a.2 before 3.1.2

Fixed versions

  • 2.4.33
  • 3.1.2

Solution

Upgrade to versions 2.4.33, 3.1.2 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

Learn more about CVSS

Weakness

  • CWE-471: Modification of Assumed-Immutable Data (MAID)
  • CWE-749: Exposed Dangerous Method or Function

Source file

pypi/nautobot/CVE-2026-44798.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:39 +0000.