Low severityOSV Advisory· Published Jan 22, 2026· Updated Jan 23, 2026
Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check
CVE-2026-20736
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
code.gitea.io/giteaGo | < 1.25.4 | 1.25.4 |
Affected products
4- osv-coords3 versionspkg:bitnami/giteapkg:golang/code.gitea.io/giteapkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6
< 1.25.4+ 2 more
- (no CPE)range: < 1.25.4
- (no CPE)range: < 1.25.4
- (no CPE)range: < 0.0.20260205T172317-150000.1.146.1
Patches
Vulnerability mechanics
References
8- github.com/go-gitea/gitea/pull/36320ghsapatchWEB
- github.com/advisories/GHSA-hgr3-x44x-33hxghsaADVISORY
- github.com/go-gitea/gitea/security/advisories/GHSA-jr6h-pwwp-c8g6mitrevendor-advisory
- nvd.nist.gov/vuln/detail/CVE-2026-20736ghsaADVISORY
- blog.gitea.com/release-of-1.25.4ghsaWEB
- blog.gitea.com/release-of-1.25.4/mitrerelease-notes
- github.com/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30ghsaWEB
- github.com/go-gitea/gitea/releases/tag/v1.25.4ghsarelease-notesWEB
News mentions
0No linked articles in our index yet.