{"id":"GHSA-hgr3-x44x-33hx","summary":"Gitea has improper access control for uploaded attachments","details":"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.","aliases":["BIT-gitea-2026-20736","CVE-2026-20736","GHSA-jr6h-pwwp-c8g6","GO-2026-4367"],"modified":"2026-02-21T07:49:39.840394Z","published":"2026-01-23T00:31:16Z","database_specific":{"nvd_published_at":"2026-01-22T22:16:17Z","cwe_ids":["CWE-284"],"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2026-01-23T20:11:37Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20736"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/36320"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.25.4"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.4"}],"affected":[{"package":{"name":"code.gitea.io/gitea","ecosystem":"Go","purl":"pkg:golang/code.gitea.io/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.25.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-hgr3-x44x-33hx/GHSA-hgr3-x44x-33hx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}