CVE-2026-20736: CWE-284: Improper Access Control in Gitea Gitea Open Source Git Server
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.
AI Analysis
Technical Summary
CVE-2026-20736 is an access control vulnerability in Gitea where repository context verification is insufficient during attachment deletion. A user who uploaded an attachment to a repository can delete it after losing access to that repository by issuing a deletion request through another repository they can access. This flaw violates proper access control (CWE-284) and can lead to unauthorized modification of repository attachments.
Potential Impact
The vulnerability allows unauthorized deletion of attachments by users who no longer have access to the original repository, resulting in integrity loss of repository data. Confidentiality and availability are not directly impacted according to the provided data. The CVSS score of 7.5 (high) reflects the significant impact on integrity with network attack vector, low attack complexity, and no privileges or user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is provided in the available data. Users should monitor the Red Hat advisory linked for updates and apply any official patches once released. Until then, consider restricting attachment deletion permissions and auditing deletion requests if possible.
CVE-2026-20736: CWE-284: Improper Access Control in Gitea Gitea Open Source Git Server
Description
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.
CVSS v3.1
Score 7.5high
Affected software
Gitea
Gitea Open Source Git Server
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-20736 is an access control vulnerability in Gitea where repository context verification is insufficient during attachment deletion. A user who uploaded an attachment to a repository can delete it after losing access to that repository by issuing a deletion request through another repository they can access. This flaw violates proper access control (CWE-284) and can lead to unauthorized modification of repository attachments.
Potential Impact
The vulnerability allows unauthorized deletion of attachments by users who no longer have access to the original repository, resulting in integrity loss of repository data. Confidentiality and availability are not directly impacted according to the provided data. The CVSS score of 7.5 (high) reflects the significant impact on integrity with network attack vector, low attack complexity, and no privileges or user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is provided in the available data. Users should monitor the Red Hat advisory linked for updates and apply any official patches once released. Until then, consider restricting attachment deletion permissions and auditing deletion requests if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Gitea
- Date Reserved
- 2026-01-08T23:02:37.558Z
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-20736","vendor":"Red Hat"}]
Threat ID: 6972a2c84623b1157c932813
Added to database: 01/22/2026, 22:20:56 UTC
Last enriched: 07/15/2026, 08:31:49 UTC
Last updated: 09/10/2026, 22:20:14 UTC
Views: 240
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.