CVE-2026-28744 Gitea Git smart HTTP bypasses repository token scopes for bearer tokens

High 8.1 Published Updated

Attackers can bypass repository token scope checks in Gitea Git smart HTTP requests using bearer tokens, potentially accessing unauthorized repositories.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-28744?

CVE-2026-28744 is a high-severity authentication bypass vulnerability in Gitea Open Source Git Server, published on 3 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Gitea versions up to and including 1.26.1 allow Git smart HTTP requests authenticated with bearer tokens to bypass repository token scope checks.

Weakness: CWE-863

Which versions are affected by CVE-2026-28744?

3 open source packages ship an affected version, including code.gitea.io/gitea.

PackageAffectedFixed in
code.gitea.io/gitea GoAll versions1.26.2
code.gitea.io/gitea GoAll versions1.26.2
code.gitea.io/gitea GoAll versions1.26.2

How do I fix CVE-2026-28744?

Upgrade code.gitea.io/gitea to 1.26.2 or later.

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

Is CVE-2026-28744 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-28744 exists.

Sources

Also known as GHSA-cc8w-r4qh-3v65, GO-2026-5321.

Is CVE-2026-28744 in your software?

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

Check your SBOMs for free