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.
Problem types
CWE-284: Improper Access Control
Product status
Any version
Credits
spingARbor
References
github.com/.../gitea/security/advisories/GHSA-jr6h-pwwp-c8g6 (GitHub Security Advisory)
github.com/go-gitea/gitea/pull/36320 (GitHub Pull Request #36320)
github.com/go-gitea/gitea/releases/tag/v1.25.4 (Gitea v1.25.4 Release)
blog.gitea.com/release-of-1.25.4/ (Gitea v1.25.4 Release Blog Post)