{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-20736","id":"CVE-2026-20736","title":"Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check","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.","descriptionLong":"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.","published":"2026-01-22T22:01:49.678Z","updated":"2026-10-28T02:31:08.079870840Z","reserved":"2026-01-08T23:02:37.558Z","status":"Modified","rejected":false,"assigner":"Gitea","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},"metrics":[{"version":"4.0","score":null,"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","rating":"low","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"redhat-SADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"OSV"}],"rating":"high","products":["Gitea Open Source Git Server"],"affectedProducts":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","defaultStatus":"unaffected","versions":[{"version":"0","lessThanOrEqual":"1.25.3","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.25.4"],"fixed":["1.25.4"],"advisory":"GHSA-hgr3-x44x-33hx"}],"cwes":["CWE-284"],"aliases":["BIT-gitea-2026-20736","GHSA-hgr3-x44x-33hx","GHSA-jr6h-pwwp-c8g6","GO-2026-4367"],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-jr6h-pwwp-c8g6","tags":["vendor-advisory","Broken Link","advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/36320","tags":["patch","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.4","tags":["release-notes","Release Notes","advisory","web"]},{"url":"https://blog.gitea.com/release-of-1.25.4/","tags":["release-notes","Release Notes","advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-20736","tags":["vdb-entry","x_refsource_REDHAT","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2432205","tags":["issue-tracking","x_refsource_REDHAT","report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20736.json","tags":["x_sadp-csaf-vex","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/20xxx/CVE-2026-20736.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20736","tags":["advisory"]},{"url":"https://github.com/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30","tags":["web"]},{"url":"https://blog.gitea.com/release-of-1.25.4","tags":["web"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"]},{"url":"https://github.com/advisories/GHSA-hgr3-x44x-33hx","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00433,"epssPercentile":0.38328,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-20736","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20736","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-20736","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hgr3-x44x-33hx","ok":true,"note":"GHSA-hgr3-x44x-33hx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-20736","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}