Vulnerability advisory
CVE-2026-20888
Gitea Pull Requests Auto-Merge: Read-Only Users Can Cancel Scheduled Auto-Merge via Web Endpoint (Authorization Bypass)
Also known as BIT-gitea-2026-20888GHSA-9cgq-wp42-4rpqGHSA-ccq9-c5hv-cf64GO-2026-4366
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/go-gitea/gitea ↗ | |
| All commits before 369830bada2fd8826a5135cb2fc66660a9bef708 | 369830bada2fd8826a5135cb2fc66660a9bef708 |
Also listed as affected (43)
| |
Description
Gitea does not properly verify authorization when canceling scheduled auto-merges via the web interface. A user with read access to pull requests may be able to cancel auto-merges scheduled by other users.
References
- Advisoryblog.gitea.com/release-of-1.25.4/ ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/20xxx/CVE-2026-20888.json ↗
- Advisorygithub.com/go-gitea/gitea/releases/tag/v1.25.4 ↗
- Advisorygithub.com/go-gitea/gitea/security/advisories/GHSA-ccq9-c5hv-cf64 ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-20888 ↗
- Fixgithub.com/go-gitea/gitea/pull/36341 ↗
- Fixgithub.com/go-gitea/gitea/pull/36356 ↗