CVE-2026-27775 Gitea pre-receive hook permission cache allows full repository write access
HighCVSS 8.8
EPSS 0.91%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| code.gitea.io/gitea(Go) | < 1.26.3 | 1.26.3 | Fixed |
| Gitea Open Source Git Server | = 1.25.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| code.gitea.io/gitea(Go) | < 1.26.3 | 1.26.3 |
| Gitea Open Source Git Server | = 1.25.5 | No fix listed |
References
- GitHub Security Advisory exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- GitHub Pull Request #38151 patch
- github.com patch
- Gitea v1.26.4 Release Blog Post release-notes
- github.com product
- Gitea v1.26.3 Release release-notes
- github.com