HIGH8.8
GO-2026-6043
Gitea: Cached Per-Branch Permission Check in Pre-Receive Hook Allows Full Repository Write in code.gitea.io/gitea
Quick fix
GO-2026-6043 — code.gitea.io/gitea: upgrade to the fixed version with the command below.
go get code.gitea.io/gitea@v1.26.3Details
Gitea: Cached Per-Branch Permission Check in Pre-Receive Hook Allows Full Repository Write in code.gitea.io/gitea
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-649p-mmhf-85c7[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2026-27775[ADVISORY]
- https://blog.gitea.com/release-of-1.26.3-and-1.26.4[WEB]
- https://github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9[WEB]
- https://github.com/go-gitea/gitea/pull/38151[WEB]
- https://github.com/go-gitea/gitea/releases/tag/v1.26.3[WEB]