CVE-2026-20888 Gitea Pull Requests Auto-Merge: Read-Only Users Can Cancel Scheduled Auto-Merge via Web Endpoint (Authorization Bypass)
MediumCVSS 4.3
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
4 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| code.gitea.io/gitea(Go) | < 1.25.4 | 1.25.4 | Fixed |
| Gitea | < 1.25.4 | 1.25.4 | Fixed |
| Gitea Open Source Git Server | <= 1.25.3 | after 1.25.3 | Fixed |
| go-gitea github.com/go-gitea/gitea(Go) | < 1.25.4 | 1.25.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| go-gitea github.com/go-gitea/gitea(Go) | < 1.25.4 | 1.25.4 |
| code.gitea.io/gitea(Go) | < 1.25.4 | 1.25.4 |
| Gitea Open Source Git Server | <= 1.25.3 | No fix listed |
| Gitea | < 1.25.4 | 1.25.4 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- GitHub Pull Request #36341 issue-tracking patch
- GitHub Pull Request #36356 issue-tracking patch
- Gitea v1.25.4 Release Blog Post release-notes
- github.com product
- Gitea v1.25.4 Release release-notes
- github.com vendor-advisory
- GitHub Security Advisory broken-link vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2432211 issue-tracking
- www.cve.org