CVE-2026-20736
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 <= 1.25.3 | affected |
Weaknesses
- CWE-284: CWE-284: Improper Access Control
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: partial
gitea: Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check
Additional References
- 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
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/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.