CVE-2026-27775

HIGH

Gitea pre-receive hook permission cache allows full repository write access

Title source: cna
STIX 2.1

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.

References (4)

Core 4
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory
https://github.com/go-gitea/gitea/security/advisories/GHSA-649p-mmhf-85c7
Patch patch
GitHub Pull Request #38151
https://github.com/go-gitea/gitea/pull/38151
Release Notes release-notes
Gitea v1.26.3 Release
https://github.com/go-gitea/gitea/releases/tag/v1.26.3
Release Notes release-notes
Gitea v1.26.4 Release Blog Post
https://blog.gitea.com/release-of-1.26.3-and-1.26.4/

Scores

CVSS v3 8.8
EPSS 0.0057
EPSS Percentile 43.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-863
Status published
Products (2)
code.gitea.io/gitea 0 - 1.26.3Go
Gitea/Gitea Open Source Git Server 1.25.5
Published Jul 03, 2026
Tracked Since Jul 04, 2026