Description
Public-Only Personal access tokens scope bypass in Organization and Permission Endpoints
Published: 2026-08-13
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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

No EPSS score has been provided, and the vulnerability is not listed in the CISA KEV catalog, suggesting that exploitation is either not yet observed or not considered a high 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. Due to the lack of a CVSS score, the exact severity cannot be quantified, but authorization bypass typically carries a high potential impact if successful.

Generated by OpenCVE AI on August 13, 2026 at 19:03 UTC.

Remediation

No vendor fix or workaround currently provided.

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 13, 2026 at 19:03 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

Thu, 13 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server

Thu, 13 Aug 2026 17:00:00 +0000

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

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-08-13T16:44:49.484Z

Reserved: 2026-06-30T18:57:20.615Z

Link: CVE-2026-58429

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-13T17:17:26.940

Modified: 2026-08-13T17:17:26.940

Link: CVE-2026-58429

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T19:15:03Z

Weaknesses
  • CWE-1259

    Improper Restriction of Security Token Assignment

  • CWE-284

    Improper Access Control