# CVE-2026-20736: Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 05-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-01-22 · Modified: 2026-07-15
- Aliases: GHSA-hgr3-x44x-33hx, BIT-gitea-2026-20736, GHSA-jr6h-pwwp-c8g6, GO-2026-4367
- Record: https://cvemate.com/vulnerability/CVE-2026-20736 · JSON: https://cvemate.com/vulnerability/CVE-2026-20736/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.433%, percentile 39.368%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea: \< 1.25.4
- gitea gitea open source git server: ≤ 1.25.3
- code.gitea.io gitea (Go): \< 1.25.4

## 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>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-20736>
- <https://github.com/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30>
- <https://blog.gitea.com/release-of-1.25.4>
- <https://github.com/go-gitea/gitea>
- <https://github.com/advisories/GHSA-hgr3-x44x-33hx>

---

Data as of 2026-12-05T14:58:45.728Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
