CVE-2026-20736
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
Product
Gitea
PublishedJan 22, 2026
First seenJan 22, 2026
Weakness typeCWE-284Improper access control
How to fix
Update
- gitea gitea1.25.4 or later
- code.gitea.io/gitea1.25.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gitea gitea | v < 1.25.4 | 1.25.4 |
| code.gitea.io/giteaGo | v < 1.25.4 | 1.25.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.