CVE-2026-20888: Gitea Open Source Git Server · Improper Access Control
Affects Gitea Open Source Git ServerSource CVE Database V5
Not known to be exploited · CVSS 4.3 Medium.
Data as of 26 Oct 2026, 09:16 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 25% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| GiteaGitea Open Source Git Server | Affected
| Fixed in– |
Gogithub.com/go-gitea/giteapkg:golang/github.com/go-gitea/giteaOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Organizations should immediately audit user permissions within Gitea, ensuring that read access users do not have unintended capabilities to affect merge operations. Implement strict role-based access control (RBAC) policies that clearly separate read-only users from those authorized to manage merges. Monitor and log all auto-merge scheduling and cancellation activities to detect unauthorized attempts. Until an official patch is released, consider restricting auto-merge features to trusted users only or disabling auto-merge scheduling if feasible. Additionally, integrate code review and merge approval processes outside of Gitea’s auto-merge functionality to maintain control over code integration. Stay informed on updates from the Gitea project and apply patches promptly once available.
Description
CVE-2026-20888 is a medium severity vulnerability in the Gitea Open Source Git Server where improper access control allows users with read access to pull requests to cancel scheduled auto-merges initiated by other users. This flaw arises from insufficient authorization checks in the web interface when handling auto-merge cancellations. Exploitation does not require user interaction but does require at least read-level privileges. The vulnerability impacts the integrity of the development workflow by enabling unauthorized interference with merge operations, though it does not affect confidentiality or availability. No known exploits are currently reported in the wild. European organizations using Gitea for source code management should review their access control policies and update or patch affected versions once fixes are available.
References
- github.com/go-gitea/gitea/security/advisories/GHSA-ccq9-c5hv-cf64 (opens in a new tab)
- github.com/go-gitea/gitea/pull/36341 (opens in a new tab)
- github.com/go-gitea/gitea/pull/36356 (opens in a new tab)
- github.com/go-gitea/gitea/releases/tag/v1.25.4 (opens in a new tab)
- blog.gitea.com/release-of-1.25.4/ (opens in a new tab)