CVE-2025-68944 Gitea sometimes mishandles propagation of token scope for access control within one of its own package registries
Attackers can bypass access controls in Gitea package registries due to improper token scope propagation, potentially reading unauthorized data.
- 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-2025-68944?
CVE-2025-68944 is a medium-severity missing authorization vulnerability in Gitea Gitea, published on 26 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Gitea before 1.22.2 sometimes mishandles the propagation of token scope for access control within one of its own package registries.
Weakness: CWE-441
Which versions are affected by CVE-2025-68944?
4 open source packages ship an affected version, including code.gitea.io/gitea and gitea. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
code.gitea.io/gitea Go | All versions | 1.22.2 |
code.gitea.io/gitea Go | All versions | 1.22.2 |
code.gitea.io/gitea Go | All versions | 1.22.2 |
gitea Bitnami | All versions | 1.22.2 |
Products include Gitea Gitea.
How do I fix CVE-2025-68944?
Upgrade code.gitea.io/gitea to 1.22.2 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2025-68944 being exploited?
There is no known exploitation of CVE-2025-68944 in the wild and no public exploit code.
Other vulnerabilities in Gitea Gitea
Sources
Also known as BIT-gitea-2025-68944, GHSA-f85h-c7m6-cfpm, GO-2025-4264.