CVE-2025-68940: gitea Incorrect Authorization
Analyzed
AliasesGHSA-rrcw-5rjv-vj26BIT-gitea-2025-68940GO-2025-4267
Published 26-12-2025Last modified 26-12-2025
Vulnerability summary
CVE-2025-68940 is a medium (CVSS 5.3) Incorrect Authorization vulnerability in gitea. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 18.5% of scored vulnerabilities.
CVSS score
5.3/10
010
Medium · v3.1 (NVD)EPSS score
0.27%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 26-12-2025PublishedVulnerability first disclosed.
- 26-12-2025Last modifiedVulnerability information updated.
Description
In Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.
CVSS metrics
3 scores · 3 sources · 1 versionMedium 5.3Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NSources3 sources · 3.1–5.3
- CVE.orgCNA3.1LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:NDiffers
- OSV · GoEcosystem advisory · calculated3.1LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:NDiffers
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.27% on 22-09-2026
22-09-202622-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Code.gitea.io1 product
- gitea< 1.22.5
Gitea1 product
- gitea< 1.22.5
2 vendors · 2 products
References
7 links- blog.gitea.com/release-of-1.22.5/Release Notes
- github.com/go-gitea/giteaPACKAGE