CVE-2026-20736 Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check
HighCVSS 7.5
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| code.gitea.io/gitea(Go) | < 1.25.4 | 1.25.4 | Fixed |
| Gitea | < 1.25.4 | 1.25.4 | Fixed |
| Gitea Open Source Git Server | <= 1.25.3 | after 1.25.3 | Fixed |
| redhat openshift pipelines | = 1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| code.gitea.io/gitea(Go) | < 1.25.4 | 1.25.4 |
| Gitea Open Source Git Server | <= 1.25.3 | No fix listed |
| redhat openshift pipelines | = 1 | No fix listed |
| Gitea | < 1.25.4 | 1.25.4 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- GitHub Pull Request #36320 issue-tracking patch
- github.com patch
- Gitea v1.25.4 Release Blog Post release-notes
- github.com product
- Gitea v1.25.4 Release release-notes
- github.com vendor-advisory
- GitHub Security Advisory broken-link vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2432205 issue-tracking
- security.access.redhat.com
- www.cve.org