Vulnerability · Published Jan 22, 2026 · Assigned by Gitea
CVE-2026-20888Gitea Pull Requests Auto-Merge: Read-Only Users Can Cancel Scheduled Auto-Merge via Web Endpoint (Authorization Bypass)
Medium 4.3
In plain English
A medium-severity improper access control in Gitea Open Source Git Server from Gitea. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.3%top 73.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | code.gitea.io/gitea | 1.25.4 | GO-2026-4366 |
| Go | github.com/go-gitea/gitea | 1.25.4 | GHSA-9cgq-wp42-4rpq |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 – through 1.25.3 |
Weakness: CWE-284, CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- GitHub Security Advisory vendor-advisory
- GitHub Pull Request #36341 patch
- GitHub Pull Request #36356 patch
- Gitea v1.25.4 Release release-notes
- Gitea v1.25.4 Release Blog Post release-notes