CVE-2026-20736
Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check
- State
- Published
- Severity
- 7.5 High
- Published
- Jan 22, 2026
- Updated
- Jul 15, 2026
- Reserved
- Jan 8, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | CISA-ADP |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | redhat-SADP |
Weaknesses
- CWE-284 Improper Access Control
Affected Products
| Product | Versions |
|---|---|
Gitea Open Source Git ServerGitea |
|
References
- GitHub Security Advisoryvendor-advisory
- GitHub Pull Request #36320patch
- Gitea v1.25.4 Releaserelease-notes
- Gitea v1.25.4 Release Blog Postrelease-notes
- https://access.redhat.com/security/cve/CVE-2026-20736vdb-entry
- RHBZ#2432205issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20736.json
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.