CVE-2026-27775 PUBLISHED

Gitea pre-receive hook permission cache allows full repository write access

Assigner: Gitea
Reserved: 03.03.2026 Published: 03.07.2026 Updated: 03.07.2026

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.

Product Status

Vendor Gitea
Product Gitea Open Source Git Server
Versions Default: unaffected
  • Version 1.25.5 is affected

Credits

  • adrian-doyensec reporter

References

Problem Types

  • CWE-863 CWE