Description
Privilege Escalation via Access Token Scope Escalation in API
Published: 2026-08-13
Score: n/a
EPSS: n/a
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‑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

Due to the absence of a published CVSS and EPSS value, the absolute severity is not quantified here. 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 13, 2026 at 18:50 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 13, 2026 at 18:50 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

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-13T16:44:42.890Z

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

Link: CVE-2026-56654

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-56654

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses