CVE-2026-70407

Gitea organization listing token scope bypass

Published Oct 14, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Gitea organization‑list API does not enforce the read:organization token scope, allowing an API token with an unrelated scope such as read:misc to retrieve organization metadata that the token’s owner can see. This is an authorization failure (CWE‑285). The exposed data may include limited and private organizations for a site administrator token, thereby bypassing intended access restrictions. The flaw can be abused to disclose organizational information that should be protected.

Affected Systems

All Gitea installations that expose the organization‑list endpoint are affected, provided the deployed version lacks the fix that enforces token scope checks. The CVE information does not specify a version range, so any deployment that has not yet applied the vendor’s patch remains vulnerable.

Risk and Exploitability

The CVSS score of 4.3 and an EPSS below 1 % indicate moderate severity but a low, non‑zero likelihood of exploitation; the vulnerability is not listed in the CISA KEV catalog. An attacker must possess any valid API token with a scope that is not read:organization to exploit the flaw; no additional privileges are required. The primary impact is information disclosure rather than code execution or denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.27.3 or later to enforce token scope checks on the organization‑list API.
  • Revoke or regenerate any API tokens that include scopes beyond those needed, ensuring each token has only the minimal required permissions.
  • If an upgrade cannot be performed immediately, temporarily restrict access to the organization‑list endpoint by configuring Gitea’s access controls or a reverse‑proxy rule to block requests from tokens lacking the read:organization scope.

Generated by OpenCVE AI on October 15, 2026 at 21:25 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 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'}

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
Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 14, 2026, 3:03 PM
Reserved
Aug 13, 2026, 4:50 PM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 14, 2026, 4:17 PM