CVE-2026-20736Published Jan 22, 2026 · Jan 22Updated Oct 28
Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check
Gitea Open Source Git Server
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| code.gitea.io/gitea Go |
|
|
Original 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.
From the CVE record · Gitea