GHSA-hgr3-x44x-33hx
Gitea has improper access control for uploaded attachments
At a glance
- Published
- Updated
- CVE
- CVE-2026-20736
- Aliases
- BIT-gitea-2026-20736, GHSA-jr6h-pwwp-c8g6, GO-2026-4367
- CVSS_V4
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
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 packages
| Package | Versions |
|---|---|
| Go · code.gitea.io/gitea | introduced 0, fixed 1.25.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-20736 ADVISORY
- https://github.com/go-gitea/gitea/pull/36320 WEB
- https://github.com/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30 WEB
- https://blog.gitea.com/release-of-1.25.4 WEB
- https://github.com/go-gitea/gitea PACKAGE
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |