CVE-2026-128359 Gitea OAuth2 provider tokens issued to disabled users

Medium 5.4 Published Updated

Gitea OAuth2 tokens issued to disabled users remain valid, letting applications keep them signed in.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Harmful if only installed
No
Needs a specific call
No
Fix
None listed

What is CVE-2026-128359?

CVE-2026-128359 is a medium-severity authentication bypass vulnerability in Gitea, published on 15 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

When Gitea acts as an OAuth2 or OpenID Connect provider, the token endpoint did not check the state of the user. After an administrator deactivated an account or prohibited its sign-in, existing refresh tokens and unused authorization codes of that user could still be exchanged for new tokens, so applications that sign users in through Gitea kept them signed in. The token endpoint now refuses users who may not sign in, and token introspection reports their tokens as inactive.

Weakness: CWE-613

Which versions are affected by CVE-2026-128359?

Only installations with a non-default setting turned on are exposed.

How do I fix CVE-2026-128359?

No fix has been published for CVE-2026-128359 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2026-128359 being exploited?

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

Sources

Also known as GHSA-jrjr-q3rq-f899.

Is CVE-2026-128359 in your software?

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

Check your SBOMs for free