CVE-2026-27775
HIGH 8.8CVSS 3.1Gitea: Cached Per-Branch Permission Check in Pre-Receive Hook Allows Full Repository Write
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.
- Published
- 3 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- 88ee5874-cf24-4952-aea0-31affedb7ff2
- NVD status
- Deferred
- Weakness
- CWE-863
- Also known as
- GHSA-649p-mmhf-85c7GO-2026-6043
- Sources
- NVDJSONOSV GHSA-649p-mmhf-85c7JSONOSV GO-2026-6043JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | 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 |
| OSV | GitHub | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | code.gitea.io/gitea | < 1.26.3 | 1.26.3 |
References
- https://blog.gitea.com/release-of-1.26.3-and-1.26.4/ · WEB
- https://github.com/go-gitea/gitea/pull/38151 · WEB
- https://github.com/go-gitea/gitea/releases/tag/v1.26.3 · WEB
- https://github.com/go-gitea/gitea/security/advisories/GHSA-649p-mmhf-85c7 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-27775 · ADVISORY
- https://github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9 · WEB
- https://github.com/go-gitea/gitea · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 3 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Jul 2026)