CVE-2026-27775
High
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.
SeverityHigh
CVSS8.8
Exploit probability—
ProductCode.gitea.io/gitea
PublishedJul 3, 2026
First seenJul 3, 2026
Weakness typeCWE-863Incorrect authorization
How to fix
Update
- code.gitea.io/gitea1.26.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| code.gitea.io/giteaGo | v < 1.26.3 | 1.26.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.