CVE-2026-101023 Gitea OAuth2 refresh token grant accepts access tokens

Critical 9.1 Published Updated

Attackers can exchange valid access tokens for new ones, extending session lifetimes and maintaining unauthorized access to Gitea accounts.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-101023?

CVE-2026-101023 is a critical authentication bypass vulnerability in Gitea Gitea, published on 6 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-287

Which versions are affected by CVE-2026-101023?

1 open source package ship an affected version, including gitea. It affects 1 product.

PackageAffectedFixed in
gitea BitnamiAll versions28.1.0

Products include Gitea Gitea.

How do I fix CVE-2026-101023?

Upgrade gitea to 28.1.0 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2026-101023 being exploited?

There is no known exploitation of CVE-2026-101023 in the wild and no public exploit code.

All Gitea Gitea vulnerabilities

Sources

Also known as BIT-gitea-2026-101023, GHSA-469m-x4mw-38r3, MINI-c35j-6234-vfgw, MINI-qf7m-7xjq-6r69.

Is CVE-2026-101023 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free