CVE-2025-68940 Details
Description
In Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.
A vulnerability exists in Gitea versions prior to 1.22.5, where branch deletion permissions are not properly enforced after a pull request has been merged. This oversight could potentially allow unauthorized users to delete branches that they should not have permission to remove.
Users can upgrade to Gitea version 1.22.5 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.gitea.com/release-of-1.22.5/ | [email protected] | Release Notes |
| https://github.com/go-gitea/gitea/pull/32654 | [email protected] | Issue TrackingPatch |
| https://github.com/go-gitea/gitea/releases/tag/v1.22.5 | [email protected] | Release Notes |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gitea gitea | < 1.22.5 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 2, 2026 | Initial Analysis | [email protected] |
| Dec 26, 2025 | New CVE Received | [email protected] |