High severityNVD Advisory· Published Jul 3, 2026· Updated Jul 6, 2026
Gitea pre-receive hook permission cache allows full repository write access
CVE-2026-27775
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
code.gitea.io/giteaGo | < 1.26.3 | 1.26.3 |
Patches
Vulnerability mechanics
References
8- github.com/go-gitea/gitea/pull/38151ghsapatchWEB
- github.com/advisories/GHSA-649p-mmhf-85c7ghsaADVISORY
- github.com/go-gitea/gitea/security/advisories/GHSA-649p-mmhf-85c7ghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-27775ghsaADVISORY
- blog.gitea.com/release-of-1.26.3-and-1.26.4ghsaWEB
- blog.gitea.com/release-of-1.26.3-and-1.26.4/mitrerelease-notes
- github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9ghsaWEB
- github.com/go-gitea/gitea/releases/tag/v1.26.3ghsarelease-notesWEB
News mentions
0No linked articles in our index yet.