Skip to main content
EPSS 0.4%top 65%

CVE-2026-20736: CWE-284: Improper Access Control in Gitea Gitea Open Source Git Server

0
High
VulnerabilityCVE-2026-20736cvecve-2026-20736cwe-284
Published: 01/22/2026 (01/22/2026, 22:01:49 UTC)
Source: CVE Database V5
Vendor/Project: Gitea
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected software

Gitea

Gitea Open Source Git Server

Affected versions
>=0 <=1.25.3

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 08:31:49 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses