Original 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.
Affected software
- Gitea *< 1.25.4 Fixed in: 1.25.4 repository or package match
Details
- Published
- 2026-01-22
- Last modified
- 2026-07-15
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N- CWE
- CWE-284
- EPSS (30-day exploit probability)
- 0.43% (percentile 38)
References
- cve.org/CVE-2026-20736
- nvd.nist.gov/vuln/detail/CVE-2026-20736
- blog.gitea.com/release-of-1.25.4/
- github.com/go-gitea/gitea/pull/36320
- github.com/go-gitea/gitea/releases/tag/v1.25.4
- github.com/go-gitea/gitea/security/advisories/GHSA-jr6h-pwwp-c8g6
- access.redhat.com/security/cve/CVE-2026-20736
- bugzilla.redhat.com/show_bug.cgi?id=2432205
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20736.json
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.