{"id":"CVE-2026-20736","published":"2026-01-22T22:01:49Z","modified":"2026-07-15T01:20:18Z","title":"Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check","vendor":"Gitea","product":"Gitea Open Source Git Server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00433,"percentile":0.38458,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-jr6h-pwwp-c8g6","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/36320","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.4","tags":["release-notes"]},{"url":"https://blog.gitea.com/release-of-1.25.4/","tags":["release-notes"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-20736","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2432205","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20736.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":7.69},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"gitea","affectedVersions":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","versions":["<= 1.25.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-01-23T21:13:08.431490Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"code.gitea.io/gitea","vulnerableRanges":["<1.25.4"],"patched":["1.25.4"],"from":["GHSA-hgr3-x44x-33hx","GO-2026-4367"],"provenance":"source"}],"summary":{"text":"The flaw is in Gitea Open Source Git Server's web attachment deletion handling, where the server fails to verify that an attachment belongs to the repository named in the request. An attacker needs network access and a Gitea account, and no user interaction is required: a user who previously uploaded an attachment to a repository they have since lost access to can delete that attachment by sending the request through another repository they can still reach.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:25Z"},"euvd":{"id":"EUVD-2026-4269","exploited":false,"provenance":"source"}}