Home

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.

PUBLISHED Reserved 2026-03-03 | Published 2026-07-03 | Updated 2026-07-06 | Assigner Gitea

Problem types

CWE-863

Product status

Default status
unaffected

1.25.5 (semver)
affected

Credits

adrian-doyensec reporter

References

github.com/.../gitea/security/advisories/GHSA-649p-mmhf-85c7 exploit

github.com/.../gitea/security/advisories/GHSA-649p-mmhf-85c7 (GitHub Security Advisory) vendor-advisory

github.com/go-gitea/gitea/pull/38151 (GitHub Pull Request #38151) patch

github.com/go-gitea/gitea/releases/tag/v1.26.3 (Gitea v1.26.3 Release) release-notes

blog.gitea.com/release-of-1.26.3-and-1.26.4/ (Gitea v1.26.4 Release Blog Post) release-notes

cve.org (CVE-2026-27775)

nvd.nist.gov (CVE-2026-27775)

Download JSON