CVE-2026-27775
Gitea pre-receive hook permission cache allows full repository write access
HIGH 8.8
At a glance
- Source
- NVD
- EPSS
- EPSS 0.91 % · percentile 60 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Gitea
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-863 — Incorrect Authorization
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
Advisories
- GHSA-649p-mmhf-85c7 — Gitea: Cached Per-Branch Permission Check in Pre-Receive Hook Allows Full Repository Write
- GO-2026-6043 — Gitea: Cached Per-Branch Permission Check in Pre-Receive Hook Allows Full Repository Write in code.gitea.io/gitea
European references
- ENISA EUVD · EUVD-2026-41636
- GCVE · GCVE-0-2026-27775
Affected products
| Product | Versions |
|---|---|
| Gitea · Gitea Open Source Git Server | affected 1.25.5 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |