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.
Published: 2026-10-14
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized change of organization team access via repository admin API
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Sat, 17 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Thu, 15 Oct 2026 05:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 14 Oct 2026 16:30:00 +0000

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'}


Wed, 14 Oct 2026 14:45:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-15T03:56:54.212Z

Reserved: 2026-07-08T09:19:07.983Z

Link: CVE-2026-60010

cve-icon Vulnrichment

Updated: 2026-10-14T15:21:51.707Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:20.897

Modified: 2026-10-15T04:18:24.870

Link: CVE-2026-60010

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T18:45:12Z

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

  • CWE-863

    Incorrect Authorization