CVE-2026-27775Published Jul 3, 2026 · Jul 3Updated Oct 28
Gitea pre-receive hook permission cache allows full repository write access
Gitea Open Source Git Server
High8.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| code.gitea.io/gitea Go |
|
|
Original description
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.
From the CVE record · Gitea