CVE-2026-20888: Gitea Pull Requests Auto-Merge: Read-Only Users Can Cancel Scheduled Auto-Merge via Web Endpoint (Authorization Bypass)

Published Jan 22, 2026
·
Updated

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 Software

3 affected componentsFixes available
gitea/gitea
go/github.com/go-gitea/gitea<1.25.4
1.25.4
Gitea Gitea<1.25.4

Event History

Jan 22, 2026
CVE Published
via MITRE·10:01 PM
Data Sourced
via MITRE·10:01 PM
DescriptionWeakness
Data Sourced
via NVD·10:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 23, 2026
Advisory Published
via GitHub·12:31 AM
Data Sourced
via GitHub·12:31 AM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-20888?

CVE-2026-20888 has a medium severity rating due to unauthorized cancellation of scheduled auto-merges by read-only users.

2

How do I fix CVE-2026-20888?

To mitigate CVE-2026-20888, upgrade Gitea to version 1.25.4 or later, which includes fixes for the authorization bypass.

3

Who is affected by CVE-2026-20888?

CVE-2026-20888 affects Gitea users who have read access to pull requests, allowing them to exploit the auto-merge cancellation feature.

4

What type of vulnerability is CVE-2026-20888?

CVE-2026-20888 is classified as an authorization bypass vulnerability in the Gitea pull request auto-merge functionality.

5

Is CVE-2026-20888 present in older versions of Gitea?

Yes, CVE-2026-20888 is present in versions of Gitea prior to 1.25.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203