CVE-2026-20912: Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure

Published Jan 22, 2026
·
Updated

Gitea does not properly validate repository ownership when linking attachments to releases. An attachment uploaded to a private repository could potentially be linked to a release in a different public repository, making it accessible to unauthorized users.

Affected Software

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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/go-gitea/gitea to a version that resolves this vulnerability.

    Fixed in 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
Data Sourced
via Red Hat·11:03 PM
DescriptionSeverityAffected 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-20912?

CVE-2026-20912 has a high severity due to its potential for unauthorized access to private attachment data.

2

How do I fix CVE-2026-20912?

To mitigate CVE-2026-20912, update Gitea to version 1.25.4 or later where the vulnerability has been addressed.

3

What type of vulnerability is CVE-2026-20912?

CVE-2026-20912 is a cross-repository authorization bypass vulnerability.

4

Who is affected by CVE-2026-20912?

CVE-2026-20912 affects users of Gitea that utilize private repositories for their attachments.

5

What could happen if CVE-2026-20912 is exploited?

Exploitation of CVE-2026-20912 could lead to the disclosure of private attachments linked to releases.

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