Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-20736US | — | — | ||
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 acce… | ||||
02
references
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2026-20736WEB
- https://blog.gitea.com/release-of-1.25.4/ARTICLE
- https://bugzilla.redhat.com/show_bug.cgi?id=2432205WEB
- https://github.com/go-gitea/gitea/pull/36320FIX
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4ARTICLE
- https://github.com/go-gitea/gitea/security/advisories/GHSA-jr6h-pwwp-c8g6WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-20736WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20736.jsonWEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan