{"id":"GHSA-hgr3-x44x-33hx","revision":"045707c34f6f4eb5bbc8b70cfeb94266","records":[{"revision":"045707c34f6f4eb5bbc8b70cfeb94266","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-hgr3-x44x-33hx","aliases":["BIT-gitea-2026-20736","CVE-2026-20736","GHSA-jr6h-pwwp-c8g6","GO-2026-4367"],"title":"Gitea has improper access control for uploaded attachments","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.","state":0,"publishedAt":"2026-01-23T00:31:16+00:00","modifiedAt":"2026-02-03T03:08:34.949359+00:00","affected":[{"ecosystem":"Go","name":"code.gitea.io/gitea","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.25.4"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-20736","https://github.com/go-gitea/gitea/pull/36320","https://github.com/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30","https://blog.gitea.com/release-of-1.25.4","https://github.com/go-gitea/gitea","https://github.com/go-gitea/gitea/releases/tag/v1.25.4"],"sourceUrl":"https://github.com/advisories/GHSA-hgr3-x44x-33hx","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-hgr3-x44x-33hx","identifiers":["GHSA-hgr3-x44x-33hx","BIT-gitea-2026-20736","CVE-2026-20736","GHSA-jr6h-pwwp-c8g6","GO-2026-4367"]},"retained":false,"historicalAffected":[]}],"coverage":[]}