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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Gitea Gitea Open Source Git Server
Default version status: unaffected
0 to ≤ 1.25.3affected
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-jr6h-pwwp-c8g6 ↗
- https://github.com/go-gitea/gitea/pull/36320 ↗
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4 ↗
- https://blog.gitea.com/release-of-1.25.4/ ↗
- https://access.redhat.com/security/cve/CVE-2026-20736 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=2432205 ↗
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20736.json ↗