Description
Gitea's organization-list API does not enforce the read:organization token scope. A token limited to another category, such as read:misc, can retrieve organization metadata visible to its owner. For a site administrator's token, the response can include Limited and private organizations, bypassing the intended restriction on the token's delegated access.
Published: 2026-10-14
Score: 4.3 Medium
EPSS: n/a
KEV: No
Impact: Unauthorized access to organization metadata
Action: Patch Immediately
AI Analysis

Impact

The Gitea organization-list API fails to enforce the read:organization token scope, allowing tokens with unrelated scopes, such as read:misc, to retrieve organization metadata that is normally restricted. Because the API returns information visible to the token's owner, a token belonging to a site administrator can expose both limited and private organization data, bypassing the intended access control. This flaw is a type of authorization failure identified as CWE‑285, and it enables unauthorized disclosure of organizational information.

Affected Systems

All installations of Gitea, specifically those running versions prior to 1.27.3, are vulnerable because the fix was introduced in the 1.27.3 release. Any deployment that has not applied this version remains susceptible to the token scope bypass.

Risk and Exploitability

The CVSS score of 4.3 indicates moderate severity, and the EPSS score is currently unavailable, suggesting that opportunistic exploitation is not widespread. The vulnerability can be leveraged by anyone who has an API token with a limited scope; attackers can craft requests to the organization-list endpoint and obtain data that should be restricted. The risk is mainly information disclosure rather than remote code execution or denial of service. Since the flaw does not require elevated privileges beyond token possession and the response data is public to the token's owner, the likelihood of successful exploitation is moderate, and the vulnerability is not listed in the CISA KEV catalog.

Generated by OpenCVE AI on October 15, 2026 at 01:33 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.27.3 or later to apply the patch that enforces token scopes for the organization-list API.
  • Revoke and regenerate any existing API tokens that include unnecessary scopes, ensuring that each token has only the permissions required for its intended use.
  • Regularly audit token permissions and enforce the principle of least privilege, especially for tokens that belong to site administrators.

Generated by OpenCVE AI on October 15, 2026 at 01:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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


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

Type Values Removed Values Added
Description Gitea's organization-list API does not enforce the read:organization token scope. A token limited to another category, such as read:misc, can retrieve organization metadata visible to its owner. For a site administrator's token, the response can include Limited and private organizations, bypassing the intended restriction on the token's delegated access.
Title Gitea organization listing token scope bypass
Weaknesses CWE-285
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-14T15:03:17.678Z

Reserved: 2026-08-13T16:50:58.703Z

Link: CVE-2026-70407

cve-icon Vulnrichment

Updated: 2026-10-14T14:53:47.177Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-10-14T16:17:52.220

Link: CVE-2026-70407

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-15T01:45:11Z

Weaknesses