CVE-2026-20736: Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check

Published Jan 22, 2026
·
Updated

Gitea does not properly verify repository context when deleting attachments. A user who previously uploaded an attachment to a repository may be able to delete it after losing access to that repository by making the request through a different repository they can access.

Affected Software

3 affected componentsFixes available
gitea/gitea
go/code.gitea.io/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/code.gitea.io/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:01 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-20736?

CVE-2026-20736 has a medium severity rating due to its potential to allow unauthorized access to sensitive attachments.

2

How do I fix CVE-2026-20736?

To remediate CVE-2026-20736, update Gitea to version 1.25.4 or later.

3

What is the impact of CVE-2026-20736?

CVE-2026-20736 allows users to delete attachments from repositories they no longer have access to, potentially leading to data loss.

4

Who is affected by CVE-2026-20736?

Users of Gitea prior to version 1.25.4 are at risk of CVE-2026-20736.

5

Can CVE-2026-20736 affect multiple repositories?

Yes, CVE-2026-20736 can lead to unauthorized deletion of attachments across different repositories if the user has previously uploaded content.

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