Skip to content

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

HighCVSS 8.8 EPSS 0.91%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
code.gitea.io/gitea(Go) < 1.26.3 1.26.3 Fixed
Gitea Open Source Git Server = 1.25.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
code.gitea.io/gitea(Go) < 1.26.3 1.26.3
Gitea Open Source Git Server = 1.25.5 No fix listed

References