CVE-2026-56654

Privilege Escalation via Access Token Scope Escalation in API

Published Aug 13, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
Privilege Escalation via Access Token Scope Escalation in API

Analysis

AI-generated

Technical impact

The vulnerability allows an attacker to increase the permissions associated with an existing access token used in the Gitea API. By manipulating the token scope, the attacker can obtain privileges above those intended for the token, potentially leading to unauthorized access to repository data, configuration settings, or administrative actions. This flaw is classified as CWE-266 and CWE-284, improper authorization control, and is an example of a privilege escalation vulnerability.

Affected Systems

The weakness affects Gitea, the open source Git server. All installations that incorporate the vulnerable API handling are potentially impacted; the specific affected software versions are not listed in the advisory. Users should verify whether they are running a vulnerable version, especially those older than the public release noted in the references.

Risk and Exploitability

The CVSS score of 9.8 indicates a high severity risk, while the EPSS score remains at less than 1%. Because the flaw involves token scope manipulation through the API, the attacker must have access to a valid access token, which may be provided via compromised credentials or misconfigured token permissions. The exploitation does not require additional user interaction beyond API usage, so it could be performed remotely by anyone who can authenticate to the server. The vulnerability is not listed in the CISA KEV catalog, but any environment that relies on the affected Gitea API should consider it a high‑risk exposure until a patch is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Gitea to the latest available release that addresses the scope escalation flaw.
  • Temporarily limit or revoke API access tokens until the patch is installed.
  • Review token scope policies and enforce the principle of least privilege across all accounts.

Generated by OpenCVE AI on August 22, 2026 at 09:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-683j-3ff6-hh2x Gitea: Privilege Escalation via Access Token Scope Escalation in API
History
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

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 Privilege Escalation via Access Token Scope Escalation in API
Title Privilege Escalation via Access Token Scope Escalation in API
Weaknesses CWE-284
References
Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

  • CWE-284

    Improper Access Control

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Aug 14, 2026, 7:19 PM
Reserved
Jul 8, 2026, 9:19 AM
Status
Deferred
Published
Aug 13, 2026, 5:17 PM
Modified
Aug 26, 2026, 4:53 PM
Severity
Important
Public date
Aug 13, 2026, 4:44 PM