Description
Privilege Escalation via Access Token Scope Escalation in API
Published: 2026-08-13
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Fri, 21 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-266
References
Metrics threat_severity

None

threat_severity

Important


Fri, 14 Aug 2026 20:30:00 +0000

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'}


Thu, 13 Aug 2026 19:30: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 Privilege Escalation via Access Token Scope Escalation in API
Title Privilege Escalation via Access Token Scope Escalation in API
Weaknesses CWE-284
References

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-08-14T19:19:59.583Z

Reserved: 2026-07-08T09:19:07.998Z

Link: CVE-2026-56654

cve-icon Vulnrichment

Updated: 2026-08-14T19:19:50.939Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-08-26T16:53:48.300

Link: CVE-2026-56654

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-13T16:44:42Z

Links: CVE-2026-56654 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T09:45:04Z

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

  • CWE-284

    Improper Access Control