CVE-2026-27775: CWE-863 in Gitea Gitea Open Source Git Server
Gitea version 1.25.5 contains a vulnerability where branch-specific write permissions are cached improperly during a pre-receive hook session. This caching allows a per-branch maintainer-edit permission to be reused across multiple refs, potentially escalating privileges to full repository write access.
AI Analysis
Technical Summary
CVE-2026-27775 is a vulnerability in Gitea Open Source Git Server version 1.25.5 involving improper caching of branch-specific write-permission results within a single pre-receive hook session. This flaw allows an attacker with maintainer-edit permissions on one branch to reuse that permission for other refs, effectively escalating their access to full write permissions on the repository. The issue is classified under CWE-863 (Incorrect Authorization). No CVSS score or official remediation information is currently available.
Potential Impact
An attacker with maintainer-edit permissions on a single branch can escalate their privileges to gain full write access to the entire repository. This could lead to unauthorized code changes, potential injection of malicious code, or disruption of repository integrity. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict maintainer-edit permissions carefully and monitor repository access closely to limit potential abuse.
CVE-2026-27775: CWE-863 in Gitea Gitea Open Source Git Server
Description
Gitea version 1.25.5 contains a vulnerability where branch-specific write permissions are cached improperly during a pre-receive hook session. This caching allows a per-branch maintainer-edit permission to be reused across multiple refs, potentially escalating privileges to full repository write access.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-27775 is a vulnerability in Gitea Open Source Git Server version 1.25.5 involving improper caching of branch-specific write-permission results within a single pre-receive hook session. This flaw allows an attacker with maintainer-edit permissions on one branch to reuse that permission for other refs, effectively escalating their access to full write permissions on the repository. The issue is classified under CWE-863 (Incorrect Authorization). No CVSS score or official remediation information is currently available.
Potential Impact
An attacker with maintainer-edit permissions on a single branch can escalate their privileges to gain full write access to the entire repository. This could lead to unauthorized code changes, potential injection of malicious code, or disruption of repository integrity. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict maintainer-edit permissions carefully and monitor repository access closely to limit potential abuse.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Gitea
- Date Reserved
- 2026-03-03T03:25:59.996Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4820fe27e9c79719acc077
Added to database: 07/03/2026, 20:52:14 UTC
Last enriched: 07/03/2026, 21:02:32 UTC
Last updated: 07/04/2026, 01:31:08 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.