Skip to content
OpenAdvisories
High · 8.8 CVE-2026-27775 EUVD-2026-41636GHSA-649p-mmhf-85c7GO-2026-6043

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

Published Jul 3, 2026 · Updated Jul 6, 2026 · Assigned by Gitea

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.

Affected products

VendorProductAffectedFixed
Gitea Gitea Open Source Git Server 1.25.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go code.gitea.io/gitea < 1.26.3 1.26.3 GHSA-649p-mmhf-85c7

Advisories 2

References