{
  "id": "CVE-2026-26231",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-26231",
  "published_at": "2026-07-03T20:19:34.133Z",
  "title": "Gitea maintainer-edit permissions allow unauthorized commits to readable repositories",
  "vendor": "Gitea",
  "product": "Gitea Open Source Git Server",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Gitea versions up to and including 1.26.1 allow the Allow edits from maintainers permission path to authorize commits to repositories that the user can read but should not be able to write.",
  "cwe": "CWE-863",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Gitea",
        "product": "Gitea Open Source Git Server",
        "ranges": [
          "\u003c= 1.26.1"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "code.gitea.io/gitea",
        "ranges": [
          "\u003c 1.26.2"
        ],
        "fixed_in": [
          "1.26.2"
        ],
        "ecosystem": "Go",
        "advisory": "GHSA-mm7c-rhg6-qr4r"
      }
    ],
    "upgrade": [
      "Upgrade code.gitea.io/gitea to 1.26.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-mm7c-rhg6-qr4r"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/go-gitea/gitea/pull/37479"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/go-gitea/gitea/pull/37484"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/go-gitea/gitea/releases/tag/v1.26.2"
      },
      {
        "kind": "Release notes",
        "url": "https://blog.gitea.com/release-of-1.26.2/"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
