← Back to search

CVE-2026-101023

9.1 CRITICALpublic exploit available

Published 2026-10-06 · Updated 2026-10-07

AI risk analysis

Summary
The flaw allows an attacker to exchange an unexpired access token for a new access token and refresh token, effectively extending the token's lifetime. This matters because it can lead to unauthorized access and prolonged system compromise.
Exploitability
Exploitation is moderately hard as it requires an attacker to have an unexpired access token for the same OAuth2 application. Precondition is the presence of an unexpired access token.
Blast radius
If exploited, the impact is significant as it could allow unauthorized access to the system for an extended period, potentially leading to data theft or other malicious activities.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Disable the OAuth2 `refresh_token` grant type or upgrade to the latest version of Gitea that addresses this vulnerability, specifically version 1.17.0 or later.
auth-bypassoauthtoken-exchangeweb

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

Gitea's OAuth2 token endpoint verified the signature and grant of a token submitted with the `refresh_token` grant type, but not that the token was a refresh token. An unexpired access token for the same OAuth2 application and grant could be exchanged for a new access token and refresh token. Whoever holds such an access token could keep access beyond the token's original lifetime.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Weaknesses

CWE-287

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.