{"cve":"CVE-2026-20736","nvd":{"published":"2026-01-22T22:16:17.207","modified":"2026-07-15T02:18:23.973","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-284"],"references":["https://blog.gitea.com/release-of-1.25.4/","https://github.com/go-gitea/gitea/pull/36320","https://github.com/go-gitea/gitea/releases/tag/v1.25.4","https://github.com/go-gitea/gitea/security/advisories/GHSA-jr6h-pwwp-c8g6","https://access.redhat.com/security/cve/CVE-2026-20736"],"products":["gitea:gitea"],"source":"nvd","synced_at":"2026-10-19T22:21:16.563232421+00:00"},"epss":{"cve":"CVE-2026-20736","score":0.00433,"percentile":0.37612,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-hgr3-x44x-33hx","url":"https://osv.dev/vulnerability/GHSA-hgr3-x44x-33hx","summary":"Gitea has improper access control for uploaded attachments","modified":"2026-02-03T03:08:34.949359Z","packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.25.4"],"fixed":["1.25.4"]}]},{"id":"GO-2026-4367","url":"https://osv.dev/vulnerability/GO-2026-4367","summary":"Gitea has improper access control for uploaded attachments in code.gitea.io/gitea","modified":"2026-03-03T04:57:53.977351Z","packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.25.4"],"fixed":["1.25.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}