Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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