# CVE-2026-27775: Gitea pre-receive hook permission cache allows full repository write access

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-03 · Modified: 2026-07-06
- Aliases: GHSA-649p-mmhf-85c7, GO-2026-6043
- Record: https://cvemate.com/vulnerability/CVE-2026-27775 · JSON: https://cvemate.com/vulnerability/CVE-2026-27775/json

## 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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.908%, percentile 61.192%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea open source git server: 1.25.5
- code.gitea.io gitea (Go): \< 1.26.3

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-649p-mmhf-85c7>
- <https://github.com/go-gitea/gitea/pull/38151>
- <https://github.com/go-gitea/gitea/releases/tag/v1.26.3>
- <https://blog.gitea.com/release-of-1.26.3-and-1.26.4/>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27775>
- <https://github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9>
- <https://blog.gitea.com/release-of-1.26.3-and-1.26.4>
- <https://github.com/go-gitea/gitea>

---

Data as of 2026-12-05T14:50:46.932Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
