low3.1
CVE-2025-68940
Gitea doesn't adequately enforce branch deletion permissions after merging a pull request.
Impact
In Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | < 1.22.5 | 1.22.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Gitea | Gitea | before 1.22.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://blog.gitea.com/release-of-1.22.5/
- https://github.com/go-gitea/gitea/pull/32654
- https://github.com/go-gitea/gitea/releases/tag/v1.22.5
- https://github.com/advisories/GHSA-rrcw-5rjv-vj26
- https://nvd.nist.gov/vuln/detail/CVE-2025-68940
- https://blog.gitea.com/release-of-1.22.5