CVE-2026-27775

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

State
Published
Severity
8.8 High
Published
Jul 3, 2026
Updated
Jul 6, 2026
Reserved
Mar 3, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
Gitea Open Source Git ServerGitea
  • 1.25.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.