{"id":"CVE-2026-20736","aliases":["CVE-2026-20736","GHSA-hgr3-x44x-33hx","BIT-GITEA-2026-20736","GHSA-jr6h-pwwp-c8g6","GO-2026-4367"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"Gitea has improper access control for uploaded attachments in code.gitea.io/gitea","format":"markdown","source":"go"},{"lang":"es","text":"Gitea no verifica correctamente el contexto del repositorio al eliminar adjuntos. Un usuario que previamente subió un adjunto a un repositorio podría eliminarlo después de perder el acceso a ese repositorio al realizar la solicitud a través de un repositorio diferente al que puede acceder.","source":"nvd"}],"published":"2026-01-22T22:01:49.678Z","modified":"2026-09-08T08:47:33.591Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-284"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.25.3","status":"affected"}],"vendor":"Gitea","product":"Gitea Open Source Git Server","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-opc-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.4"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.4"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"go"},{"ranges":[{"status":"affected","fixed":"1.25.4"}],"vendor":"gitea","product":"gitea","cpe":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.4"}],"ecosystem":"Bitnami","package":"gitea","purl":"pkg:bitnami/gitea","source":"bitnami"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-jr6h-pwwp-c8g6","tags":["broken-link","vendor-advisory","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/pull/36320","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.4","tags":["article","release-notes","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://blog.gitea.com/release-of-1.25.4/","tags":["article","release-notes"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-20736","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2432205","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20736.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20736","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30","tags":["web"],"sources":["ghsa","go"]},{"url":"https://blog.gitea.com/release-of-1.25.4","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-hgr3-x44x-33hx","tags":["advisory"],"sources":["go"]}],"credits":["spingARbor"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-01-23T21:13:08.431Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-20736","url":"https://www.cve.org/CVERecord?id=CVE-2026-20736","licence":"CVE Terms of Use","modified":"2026-07-15T01:20:18.077Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hgr3-x44x-33hx","url":"https://github.com/advisories/GHSA-hgr3-x44x-33hx","licence":"CC-BY-4.0","modified":"2026-02-03T03:08:34.949Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4367","url":"https://pkg.go.dev/vuln/GO-2026-4367","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:53.977Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-20736","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20736","licence":"Public domain","modified":"2026-07-15T02:18:23.973Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITEA-2026-20736","url":"https://osv.dev/vulnerability/BIT-GITEA-2026-20736","licence":"Apache-2.0","modified":"2026-09-08T08:47:33.591Z"}],"updatedAt":"2026-11-25T22:59:13.079Z","epss":{"score":0.00619,"percentile":0.44033,"date":"2026-11-30T12:00:22.000Z"}}