CVE-2026-20736Improper Access Control in Gitea

Severity
7.5HIGHNVD
EPSS
0.0%
top 98.09%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 22
Latest updateFeb 2

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 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

NVDgitea/gitea< 1.25.4
Gocode.gitea.io/gitea< 1.25.4

Patches

🔴Vulnerability Details

3
OSV
Gitea has improper access control for uploaded attachments in code.gitea.io/gitea2026-02-02
OSV
Gitea has improper access control for uploaded attachments2026-01-23
GHSA
Gitea has improper access control for uploaded attachments2026-01-23

📋Vendor Advisories

1
Red Hat
gitea: Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check2026-01-22

🕵️Threat Intelligence

1
Wiz
CVE-2026-20736 Impact, Exploitability, and Mitigation Steps | Wiz