CVE-2025-68940
MEDIUM 5.3CVSS 3.1Gitea doesn't adequately enforce branch deletion permissions after merging a pull request.
In Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.
- Published
- 26 Dec 2025
- Last modified
- 13 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-863
- Also known as
- BIT-gitea-2025-68940GHSA-rrcw-5rjv-vj26GO-2025-4267
- Sources
- NVDJSONOSV GHSA-rrcw-5rjv-vj26JSONOSV GO-2025-4267JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gitea | giteacpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:* |
< 1.22.5 | 1.22.5 |
| OSV | Go | code.gitea.io/gitea | < 1.22.5 | 1.22.5 |
References
- https://blog.gitea.com/release-of-1.22.5/ · Release Notes, WEB
- https://github.com/go-gitea/gitea/pull/32654 · Issue Tracking, Patch, WEB
- https://github.com/go-gitea/gitea/releases/tag/v1.22.5 · Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-68940 · ADVISORY
- https://github.com/go-gitea/gitea · PACKAGE
- https://github.com/advisories/GHSA-rrcw-5rjv-vj26 · ADVISORY
History
- 25 Nov 2026 21:00 UTC · NVD: first stored (published 26 Dec 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Dec 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Dec 2025)