{"id":"CVE-2026-27775","published":"2026-07-03T20:19:37Z","modified":"2026-07-06T15:25:15Z","title":"Gitea pre-receive hook permission cache allows full repository write access","vendor":"Gitea","product":"Gitea Open Source Git Server","tier":"tail","description":{"text":"Gitea 1.25.5 caches a branch-specific write-permission result across multiple refs in one pre-receive hook session, allowing a per-branch maintainer-edit grant to be reused for other refs and escalate to full repository write access.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00908,"percentile":0.60778,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-649p-mmhf-85c7","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/38151","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.3","tags":["release-notes"]},{"url":"https://blog.gitea.com/release-of-1.26.3-and-1.26.4/","tags":["release-notes"]}],"priority":{"score":18.3,"factors":[{"name":"EPSS percentile","points":12.16},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"gitea","affectedVersions":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","versions":["1.25.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-07-06T15:25:11.861993Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"code.gitea.io/gitea","vulnerableRanges":["<1.26.3"],"patched":["1.26.3"],"from":["GHSA-649p-mmhf-85c7","GO-2026-6043"],"provenance":"source"}],"summary":{"text":"Gitea's pre-receive hook permission handling, in the Gitea Open Source Git Server product, caches a branch-specific write-permission result and reuses it across multiple refs within a single hook session. An authenticated user with a per-branch maintainer-edit grant can exploit this to gain full repository write access by pushing multiple refs in one session, which is an incorrect authorization flaw.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:11Z"},"euvd":{"id":"EUVD-2026-41636","exploited":false,"provenance":"source"}}