Description
Adding attachments to a release checked the repository and release of an attachment but not whether it was already linked to an issue or comment. A user with write access to the releases of a repository, who knew the UUID of an attachment in that repository, could link it to a release. This exposed the file name, size and download count of the attachment through the release and allowed the user to rename or delete it.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Gitea | Gitea | ≤ 28.1.0 | — |
Advisories 1
- WID-SEC-2026-4021 Gitea: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
References
- GitHub Security Advisory GHSA-cwq7-782w-pxcc vendor-advisory
- Fix: go-gitea/gitea pull request #39839 patch
- Fix backport to release/v28: go-gitea/gitea pull request #39847 patch
- Gitea 28.2.0 release announcement release-notes
- go-gitea/gitea v28.2.0 release release-notes