Skip to content
Heist/ feed
Back to feed
High

Nautobot: GitRepository.current_head field should not be writable through REST API

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-44798
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 21:54 UTC · Revision 1

Source evidence

Nautobot: GitRepository.current_head field should not be writable through REST API

core-osv · Original source

Published 28 May 2026, 16:57 UTC

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.

osv:CVE-2026-44798
Complete source record
{
  "id": "bda065fc848cc982b5a17674b8b4ed5aea659bd697af87deacdc0cc815820175",
  "url": "https://osv.dev/vulnerability/CVE-2026-44798",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Nautobot: GitRepository.current_head field should not be writable through REST API",
    "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.",
    "evidence": "osv:CVE-2026-44798",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-44798",
      "aliases": [
        "CVE-2026-44798",
        "GHSA-p3hx-pwf3-j8wr",
        "PYSEC-2026-2228"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nautobot/nautobot",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "97f53aa551f655623df7e39e7afd2231c49602f2"
                },
                {
                  "introduced": "b9e675881bc7cc1ce7896637828972e691860c91"
                },
                {
                  "fixed": "2354943ce235f4d610be5e8d2b72928961a9ec8f"
                },
                {
                  "fixed": "9deddfc91ad9260ad17b5e20084e9e2d15be3609"
                },
                {
                  "fixed": "c46f97040b2bde4320be36b23577f19a8bcbd8c3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:networktocode:nautobot:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.4.33"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:networktocode:nautobot:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "3.1.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9deddfc91ad9260ad17b5e20084e9e2d15be3609"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c46f97040b2bde4320be36b23577f19a8bcbd8c3"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "97f53aa551f655623df7e39e7afd2231c49602f2"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.4.33"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2354943ce235f4d610be5e8d2b72928961a9ec8f"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v3.1.2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.1.1",
            "v2.4.32",
            "v3.1.0",
            "v3.0.11",
            "v2.4.31",
            "v3.0.10",
            "v2.4.30",
            "v3.0.9",
            "v2.4.29",
            "v3.0.8",
            "v2.4.28",
            "v3.0.7",
            "v2.4.27",
            "v3.0.6",
            "v2.4.26",
            "v3.0.5",
            "v2.4.25",
            "v3.0.4",
            "v3.0.3",
            "v2.4.24",
            "v3.0.2",
            "v3.0.1",
            "v2.4.23",
            "v3.0.0",
            "v2.4.22",
            "v2.4.21",
            "v2.4.20",
            "v2.4.19",
            "v2.4.18",
            "v2.4.17",
            "v2.4.16",
            "v2.4.15",
            "v2.4.14",
            "v2.4.13",
            "v2.4.12",
            "v2.4.11",
            "v2.4.10",
            "v2.4.9",
            "v2.4.8",
            "v2.4.7",
            "v2.4.6",
            "v2.4.5",
            "v2.4.4",
            "v2.4.3",
            "v2.4.2",
            "v2.4.1",
            "v2.4.0",
            "v2.3.16",
            "v2.3.15",
            "v2.3.14",
            "v2.3.15-beta.1",
            "v2.3.13",
            "v2.3.12",
            "v2.3.11",
            "v2.3.10",
            "v2.3.9",
            "v2.3.8",
            "v2.3.6",
            "v2.3.5",
            "v2.3.4",
            "v2.3.3",
            "v2.3.2",
            "v2.3.1",
            "v2.3.0",
            "v2.2.9",
            "v2.2.8",
            "v2.2.7",
            "v2.2.6",
            "v2.2.5",
            "v2.2.4",
            "v2.2.3",
            "v2.2.2",
            "v2.2.1",
            "v2.2.0",
            "v2.1.9",
            "v2.1.8",
            "v2.1.7",
            "v2.1.6",
            "v2.1.5",
            "v2.1.4",
            "v2.1.3",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.6",
            "v2.0.5",
            "v2.0.4",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v1.6.2",
            "v2.0.0-rc.4",
            "v2.0.0-rc.3",
            "v1.6.1",
            "v1.6.0",
            "v1.5.24",
            "v1.6.0-rc.1",
            "v1.5.23",
            "v1.5.22",
            "v1.5.21",
            "v1.5.20",
            "v1.5.19",
            "v1.5.18",
            "v1.5.17",
            "v1.5.16",
            "v1.5.15",
            "v1.5.14",
            "v1.5.13",
            "v1.5.12",
            "v1.5.11",
            "v1.5.10",
            "v1.5.9",
            "v1.5.8",
            "v1.5.7",
            "v1.5.6",
            "v1.5.5",
            "v1.5.4",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.10",
            "v1.4.9",
            "v1.4.8",
            "v1.4.7",
            "v1.4.6",
            "v1.4.5",
            "v1.4.4",
            "v1.4.3",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.3.10",
            "v1.3",
            "v1.3.9",
            "v1.3.8",
            "v1.3.7",
            "v1.3.6",
            "v1.3.5",
            "v1.3.4",
            "v1.3.3",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0",
            "v1.2.11",
            "v1.2",
            "v1.2.10",
            "v1.2.9",
            "v1.2.8",
            "v1.2.7",
            "v1.2.6",
            "v1.2.5",
            "v1.2.4",
            "v1.2.3",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.2.0b1",
            "v1.1.4",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.1.0b2",
            "v1.1.0b1",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0",
            "v1.0.0b4",
            "v1.0.0b3",
            "v1.0.0b2",
            "v1.0.0b1",
            "v1.0.0a2",
            "v1.0.0a1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44798.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.025931463Z",
      "provider": "osv",
      "references": [
        "https://github.com/nautobot/nautobot/releases/tag/v2.4.33",
        "https://github.com/nautobot/nautobot/releases/tag/v3.1.2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44798.json",
        "https://github.com/nautobot/nautobot/security/advisories/GHSA-p3hx-pwf3-j8wr",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-44798",
        "https://github.com/nautobot/nautobot/commit/9deddfc91ad9260ad17b5e20084e9e2d15be3609",
        "https://github.com/nautobot/nautobot/commit/c46f97040b2bde4320be36b23577f19a8bcbd8c3"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-471",
          "CWE-749"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44798.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-44798",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507442,
  "published_at": "2026-05-28T16:57:45.734+00:00"
}