Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.6%top 56%

CVE-2026-27775: CWE-863 in Gitea Gitea Open Source Git Server

0
High
VulnerabilityCVE-2026-27775cvecve-2026-27775cwe-863
Published: 07/03/2026 (07/03/2026, 20:19:37 UTC)
Source: CVE Database V5
Vendor/Project: Gitea
Product: Gitea Open Source Git Server

Description

Gitea version 1.25.5 has a vulnerability where branch-specific write permissions are cached improperly during a pre-receive hook session. This flaw allows a user with per-branch maintainer-edit rights to reuse that permission across other refs, effectively escalating their access to full repository write privileges. The vulnerability is classified under CWE-863 and carries a high severity score of 8.8.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
go-gitea/gitea
pkg:github/go-gitea/gitea
Affected versions
=1.25.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 00:39:27 UTC

Technical Analysis

CVE-2026-27775 in Gitea 1.25.5 involves improper caching of branch-specific write-permission results across multiple refs within a single pre-receive hook session. This enables an attacker who has maintainer-edit permissions on one branch to leverage that cached permission to gain write access to the entire repository, thereby escalating privileges beyond intended scope. The vulnerability is identified as CWE-863 (Incorrect Authorization).

Potential Impact

An attacker with limited write permissions on a specific branch can escalate their privileges to gain full write access to the entire repository. This can lead to unauthorized code changes, potential data integrity issues, and compromise of the repository's security.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict maintainer-edit permissions carefully and monitor repository access closely.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/22/2026, 00:39:27 UTC

Last updated: 08/12/2026, 00:41:11 UTC

Views: 93

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses