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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | ≤ 1.25.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
| openSUSE Leap 15.6 | govulncheck-vulndb | 0.0.20260205T172317-150000.1.146.1 | SUSE-SU-2026:0403-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | code.gitea.io/gitea | < 1.25.4 | 1.25.4 | GHSA-hgr3-x44x-33hx |
Advisories 3
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026
- SUSE-SU-2026:0403-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Mar 23, 2026
- WID-SEC-2026-0200 Gitea: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 8, 2026
References
- GitHub Security Advisory vendor-advisory
- GitHub Pull Request #36320 patch
- Gitea v1.25.4 Release release-notes
- Gitea v1.25.4 Release Blog Post release-notes