CVE-2026-27775: Gitea pre-receive hook permission cache allows full repository write access

CVE-2026-27775 affects 1 listed version of Gitea in the Dawnsentry catalogue.

8.8CVSS high
Proof of concept publicexploitation
under 1%EPSS (next 30 days)
3 July 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Gitea

1 of 124 listed versions are affected. No fixed release is named. The newest release, 28.4.0, is not affected.

1.25.5

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (Gitea)

Published by Gitea on 3 July 2026. Last changed 25 October 2026.

Sources

Check one version you run: look CVE-2026-27775 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.