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.
Problem types
Product status
1.25.5 (semver)
Credits
adrian-doyensec
References
github.com/.../gitea/security/advisories/GHSA-649p-mmhf-85c7
github.com/.../gitea/security/advisories/GHSA-649p-mmhf-85c7 (GitHub Security Advisory)
github.com/go-gitea/gitea/pull/38151 (GitHub Pull Request #38151)
github.com/go-gitea/gitea/releases/tag/v1.26.3 (Gitea v1.26.3 Release)
blog.gitea.com/release-of-1.26.3-and-1.26.4/ (Gitea v1.26.4 Release Blog Post)