Vulnerability
CVE-2026-20736
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.
4 advisories report this vulnerability, across 2 ecosystems.
Advisories
-
GHSA-hgr3-x44x-33hx
Gitea has improper access control for uploaded attachments
-
GO-2026-4367
Gitea has improper access control for uploaded attachments in code.gitea.io/gitea
-
SUSE-SU-2026:0403-1
Security update for govulncheck-vulndb
-
openSUSE-SU-2026:21483-1
Security update for govulncheck-vulndb
References
- https://blog.gitea.com/release-of-1.25.4/
- https://github.com/go-gitea/gitea/pull/36320
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4
- https://github.com/go-gitea/gitea/security/advisories/GHSA-jr6h-pwwp-c8g6
- 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