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.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-649p-mmhf-85c7 | Gitea: Cached Per-Branch Permission Check in Pre-Receive Hook Allows Full Repository Write |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Mon, 06 Jul 2026 23:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gitea
Gitea gitea Open Source Git Server |
|
| Vendors & Products |
Gitea
Gitea gitea Open Source Git Server |
Mon, 06 Jul 2026 16:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
Fri, 03 Jul 2026 20:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Gitea pre-receive hook permission cache allows full repository write access | |
| Weaknesses | CWE-863 | |
| References |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: Gitea
Published:
Updated: 2026-07-06T15:25:15.796Z
Reserved: 2026-03-03T03:25:59.996Z
Link: CVE-2026-27775
Updated: 2026-07-06T15:25:05.832Z
No data.
No data.
OpenCVE Enrichment
Updated: 2026-07-26T22:30:04Z
Weaknesses
Github GHSA