Skip to main content

Gitea EUVDEUVD-2026-58160

| CVE-2026-58433 CRITICAL
Missing Authorization (CWE-862)
2026-08-13 Gitea
9.1
CVSS 3.1 · Vendor: Gitea
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as repository admin
  2. Delivery
    Call team-repository linking endpoint
  3. Exploit
    Bypass RepoAdminChangeTeamAccess check
  4. Execution
    Attach attacker-controlled team
  5. Impact
    Gain unauthorized access to private repo

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated user with repository-administrator privileges on a target repository within a Gitea organization, and the organization must have the RepoAdminChangeTeamAccess setting configured to restrict repo admins from changing team access (the exact guardrail the endpoint bypasses). Exploitation is limited by needing that existing privileged role and a multi-team org structure where the setting is in force; single-owner or single-team deployments and instances where repo admins are already trusted to manage team access see no meaningful boundary crossing. Note the published PR:N conflicts with this repo-admin prerequisite and should be verified against the vendor advisory.

Impact

Signals conflict and warrant scrutiny. The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, base 9.1, C:H/I:H) implies remote unauthenticated exploitation, but the description ties the abuse to a repository administrator overriding an org-owner restriction - an action that inherently requires an authenticated repo-admin role. That points to PR:L rather than PR:N, and lowers the realistic base score to roughly 8.1; verify privilege prerequisites with the Gitea advisory. Supporting the lower-urgency read, EPSS is only 0.15% (5th percentile), the issue is not in CISA KEV, and no public exploit has been identified. The impact is genuine - improper access-control changes on private code - but exploitation requires an existing privileged foothold inside an organization, making this an authorization/insider-boundary issue rather than a wormable internet-facing RCE. Treat it as a solid-priority patch for multi-tenant Gitea instances, not an emergency for isolated single-owner deployments.

Exploit ScenarioDerived

In an organization where the owner has disabled RepoAdminChangeTeamAccess to keep repo admins from re-sharing repositories, a user holding only repository-admin rights calls the team-repository linking endpoint and successfully attaches an additional team - one they control or belong to - to a private repository. That team then gains read/write access to source code the org owner intended to keep restricted. No public proof-of-concept has been identified at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 14, 2026

Broken access control in Gitea (self-hosted Git service) versions up to and including 1.26.4 lets the team-repository linking endpoint ignore the RepoAdminChangeTeamAccess organization setting, so repository administrators can grant or alter team access to repositories even when an org owner has explicitly restricted that ability. This CWE-862 missing-authorization flaw undermines an intended org-level guardrail, exposing private repository contents (C:H) and permitting unauthorized permission changes (I:H). No public exploit has been identified at time of analysis, and the EPSS probability is low (0.15%, 5th percentile).

RemediationAI

Vendor-released patch: 1.27.0 - upgrade Gitea from any 1.26.4-or-earlier build to 1.27.0 or later, following the advisory GHSA-m6qc-j894-7h9r and the release at https://github.com/go-gitea/gitea/releases/tag/v1.27.0. Where an immediate upgrade is not possible, compensating controls include reducing the number of accounts holding repository-admin rights in sensitive organizations and auditing team-to-repository access grants for unexpected changes, since the flaw only matters when repo admins exist below org owners; note that tightening repo-admin membership reduces day-to-day delegation flexibility. You cannot reliably re-enforce the RepoAdminChangeTeamAccess restriction on unpatched builds because the endpoint bypasses it entirely, so upgrading is the only complete fix. Review the 1.27.0 release notes (https://blog.gitea.com/gitea-1.27.0-is-released/) before rolling out.

Affected VersionsENISA

Gitea Open Source Git Server 0 ≤1.26.4

Affected Packages

euvd gitea_open_source_git_server no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Gitea is an open-source, self-hosted Git service written in Go, offering GitHub-style organizations, teams, and repository access control. The RepoAdminChangeTeamAccess organization setting is designed so that only org owners - not repo admins - can modify which teams are granted access to a repository, a common least-privilege guardrail in multi-team organizations. The vulnerability (CWE-862, Missing Authorization) is a server-side authorization gap: the team-repository linking API endpoint performs the linking action without re-checking the RepoAdminChangeTeamAccess policy, so the security decision the setting is supposed to enforce is simply not evaluated on that code path. Affected builds are identified by CPE cpe:2.3:a:gitea:gitea_open_source_git_server:*.

Know when Gitea gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Gitea) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 8.1 HIGH

Abuse requires an authenticated repository-admin role to override the org setting, so PR:L not PR:N; network endpoint and no availability impact give AV:N/AC:L and A:N.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Gitea).

CVSS VectorVendor: Gitea

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
CVSS changed
Aug 14, 2026 - 20:22 NVD
9.1 (CRITICAL)
CVE Published
Aug 13, 2026 - 16:44 cve.org
CRITICAL 9.1
CVE Published
Aug 13, 2026 - 16:44 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Team-repository linking endpoint bypasses the RepoAdminChangeTeamAccess organization setting

Executive ViewAI

Why It Matters

Gitea versions 1.26.4 and earlier contain a critical access control vulnerability (CVSS 9.1, CWE-862) that allows repository administrators to bypass organization-level restrictions on team access modifications, creating risk of unauthorized repository exposure and permission escalation. No public exploit identified at time of analysis, but the vulnerability fundamentally undermines organizational governance by enabling malicious or compromised admins to grant themselves access to repositories an organization owner explicitly restricted. This directly impacts data confidentiality and integrity for any organization relying on Gitea's permission model.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: (1) restrict repository administrator role to highly-vetted personnel only; (2) disable or restrict the team-repository linking endpoint where operationally feasible; (3) implement detailed audit logging and retention for all permission changes and team modifications; (4) conduct comprehensive access review to identify any unauthorized team-repository relationships created; (5) isolate sensitive repositories from shared team access configurations pending patch availability.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
popular self-hosted Git server, common in dev orgs but not ubiquitous
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Gitea

View all
CVE-2026-60004 CRITICAL POC
9.8

Remote code execution in Gitea (self-hosted Git service) via a code-injection flaw (CWE-94) allows attackers to run arbi

CVE-2026-27771 HIGH POC
8.2 Jul 03

Broken access control in Gitea's Composer package registry (versions up to and including 1.26.1) lets remote attackers r

CVE-2022-30781 HIGH POC
7.5 May 16

Gitea before 1.16.7 does not escape git fetch remote. Rated high severity (CVSS 7.5), this vulnerability is remotely exp

CVE-2020-14144 HIGH POC
7.2 Oct 16

The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote code execution in customer envir

CVE-2024-6886 CRITICAL POC
10.0 Aug 06

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea Gitea

CVE-2026-20896 CRITICAL POC
9.8 Jul 03

Reverse-proxy authentication bypass in the official Gitea Docker image (versions up to and including 1.26.2) allows any

CVE-2026-59774 CRITICAL POC
9.8

Path traversal in Gitea's Org-mode (`.org`) markup renderer allows an attacker who can get Org-mode content rendered by

CVE-2026-58053 CRITICAL POC
9.4 Jun 28

Container escape in Gitea act_runner (Docker backend, through act 0.262.0) lets an authenticated user with workflow-exec

CVE-2019-11229 HIGH POC
8.8 Apr 15

models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to rem

CVE-2026-57894 HIGH POC
8.5 Jul 21

Server-side request forgery and internal repository exfiltration in Gitea before 1.27.0 lets a low-privileged authentica

CVE-2026-24791 HIGH POC
8.1 Jun 17

Authorization bypass in Gitea versions 1.22.3 through 1.26.1 allows holders of `public-only` access tokens or OAuth gran

CVE-2020-13246 HIGH POC
7.5 May 20

An issue was discovered in Gitea through 1.11.5. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy