NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2026-20736: Gitea has improper access control for uploaded attachments

lowCVSS 4.0 2.3GHSA-hgr3-x44x-33hx

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.

Published Jan 23, 2026

Affected packages

code.gitea.io/gitea

Ecosystem
Go
Affected
< 1.25.4
Fixed in
1.25.4
Check
go list -m code.gitea.io/gitea

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries