CVE-2026-60010

Gitea organization team policy bypass through repository API

Published Oct 14, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Gitea's repository-side team-link API allows a repository administrator who is not an organization owner to attach organization teams to a repository despite RepoAdminChangeTeamAccess being disabled. The endpoint does not enforce the organization's restriction on repository administrators changing team access. This allows unauthorized changes to which organization teams receive repository access.

Analysis

AI-generated

Technical impact

The vulnerability allows a repository administrator who is not an organization owner to link organization teams to a repository even when the global setting RepoAdminChangeTeamAccess is disabled. This bypass removes the access restriction so the attacker can grant unintended teams access to repository contents, potentially exposing code and related assets. The flaw is an authorization bypass, mapped to CWE-266 and CWE-863, and results in privilege escalation within the same organization.

Affected Systems

Affected product is Gitea. No version information is provided, so all deployments using Gitea may be vulnerable if the global setting RepoAdminChangeTeamAccess is set to false and repository administrators exist.

Risk and Exploitability

The CVSS score of 6.5 indicates a medium severity. The EPSS score is < 1% and the vulnerability is not listed in CISA KEV. The attack path requires the attacker to have repository admin privileges within an organization that is missing the owner permission. Once privileged, the attacker can trigger the API endpoint without permission checks, elevating control of team access. Because of the lack of public exploitation data, the risk is primarily determined by the medium CVSS and the potential for internal abuse.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Deploy the latest Gitea release where the issue is fixed.
  • Verify that the global setting RepoAdminChangeTeamAccess is enabled to enforce team access restrictions.
  • Review recent repository changes for unexpected team link modifications and enforce least‑privilege policies for repository admins.

Generated by OpenCVE AI on October 15, 2026 at 19:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N'}

Type Values Removed Values Added
Description Gitea's repository-side team-link API allows a repository administrator who is not an organization owner to attach organization teams to a repository despite RepoAdminChangeTeamAccess being disabled. The endpoint does not enforce the organization's restriction on repository administrators changing team access. This allows unauthorized changes to which organization teams receive repository access.
Title Gitea organization team policy bypass through repository API
Weaknesses CWE-266
CWE-863
References
Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 15, 2026, 3:56 AM
Reserved
Jul 8, 2026, 9:19 AM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 15, 2026, 4:18 AM