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

How to fix

Affected products

ProductAffected versionsFixed in
code.gitea.io/giteaGov < 1.26.31.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.