go-gitea/gitea · Security
Gitea has improper access control for uploaded attachments
- GHSA ID
- GHSA-hgr3-x44x-33hx
- CVE ID
- CVE-2026-20736
- Severity
- low
- Published
- Updated
- CVSS v4
- 2.3 · 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.
CWEs
- CWE-284 · Improper Access Control
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-20736 ↗
- https://github.com/go-gitea/gitea/pull/36320 ↗
- https://blog.gitea.com/release-of-1.25.4 ↗
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4 ↗
- https://github.com/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30 ↗
- https://github.com/advisories/GHSA-hgr3-x44x-33hx ↗