ADVISORIES

GitHub Advisory Database

GHSA-hgr3-x44x-33hx

Gitea has improper access control for uploaded attachments

Details

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.

Affected packages

EcosystemPackageAffected versions
Gocode.gitea.io/gitea
All versions before 1.25.4 (fixed in 1.25.4)

References