CVE-2026-58429

Public-Only Personal access tokens scope bypass in Organization and Permission Endpoints

Published Aug 13, 2026 CVSS 3.1 · 4.9 Medium EPSS < 1% KEV · Not listed
Description
Public-Only Personal access tokens scope bypass in Organization and Permission Endpoints

Analysis

AI-generated

Technical impact

A flaw in Gitea’s organization and permission endpoints permits unauthorized users to view or obtain personal access tokens that are intended to be visible only to the token owner. This weakness enables an attacker to use those tokens to access repositories or perform actions otherwise forbidden, constituting an authorization bypass. The vulnerability is categorized as CWE‑284 (Improper Authorization) and CWE‑1259 (Unrestricted Use of Personal Access Tokens).

Affected Systems

The flaw is present in the Gitea Open Source Git Server, and the vendor’s release notes indicate that version 1.27.0 includes the fix. While the precise list of vulnerable versions is not enumerated, any version earlier than 1.27.0 that has not yet been patched may be affected.

Risk and Exploitability

The EPSS score is < 1%, and the vulnerability is not listed in the CISA KEV catalog, suggesting that exploitation is either not yet observed or considered low priority. However, the description implies that an attacker can send crafted requests to the organization and permission API endpoints to retrieve personal access tokens. This inference indicates that the attack path may be relatively straightforward for authenticated users with API access or for anonymous users if the endpoints are publicly exposed. The CVSS score of 4.9 indicates a medium severity, though the exact impact depends on context, but authorization bypass still carries a potential high impact if successful.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.27.0 or later to apply the vendor‑supplied fix
  • Verify that personal access token scope settings enforce public‑only visibility in the updated release
  • Enable audit logging for organization and permission API calls and review for suspicious use of personal access tokens

Generated by OpenCVE AI on August 14, 2026 at 19:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-fq2p-5p22-8g6j Gitea: Public-Only Personal access tokens scope bypass in Organization and Permission Endpoints
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server
Type Values Removed Values Added
Description Public-Only Personal access tokens scope bypass in Organization and Permission Endpoints
Title Public-Only Personal access tokens scope bypass in Organization and Permission Endpoints
Weaknesses CWE-1259
CWE-284
References
Weaknesses
  • CWE-1259

    Improper Restriction of Security Token Assignment

  • CWE-284

    Improper Access Control

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Aug 14, 2026, 5:28 PM
Reserved
Jun 30, 2026, 6:57 PM
Status
Deferred
Published
Aug 13, 2026, 5:17 PM
Modified
Aug 26, 2026, 4:53 PM