CVE-2025-68938 Gitea mishandles authorization for deletion of releases
Attackers can delete releases without proper authorization due to mishandled access controls in Gitea.
- 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-68938?
CVE-2025-68938 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.25.2 mishandles authorization for deletion of releases.
Weakness: CWE-863
Which versions are affected by CVE-2025-68938?
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.25.2 |
code.gitea.io/gitea Go | All versions | 1.25.2 |
code.gitea.io/gitea Go | All versions | 1.25.2 |
gitea Bitnami | All versions | 1.25.2 |
Products include Gitea Gitea.
How do I fix CVE-2025-68938?
Upgrade code.gitea.io/gitea to 1.25.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-68938 being exploited?
There is no known exploitation of CVE-2025-68938 in the wild and no public exploit code.
Other vulnerabilities in Gitea Gitea
Sources
Also known as BIT-gitea-2025-68938, GHSA-cm54-pfmc-xrwx, GO-2025-4258.