# CVE-2026-20736: Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-01-22T22:01:49.678Z
- Modified: 2026-09-08T08:47:33.591Z
- Also known as: GHSA-hgr3-x44x-33hx, BIT-GITEA-2026-20736, GHSA-jr6h-pwwp-c8g6, GO-2026-4367
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- Gitea Gitea Open Source Git Server: up to 1.25.3
- openshift-pipelines/pipelines-opc-rhel9: no versions given
- openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8: no versions given
- openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9: no versions given
- openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8: no versions given
- openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9: no versions given
- openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8: no versions given
- openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9: no versions given
- openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8: no versions given
- openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9: no versions given
- code.gitea.io/gitea (Go): before 1.25.4
- gitea gitea: before 1.25.4
- gitea (Bitnami): before 1.25.4

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 Low `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`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-jr6h-pwwp-c8g6> (broken-link, vendor-advisory, web)
- <https://github.com/go-gitea/gitea/pull/36320> (fix, issue-tracking, patch, web)
- <https://github.com/go-gitea/gitea/releases/tag/v1.25.4> (article, release-notes, web)
- <https://blog.gitea.com/release-of-1.25.4/> (article, release-notes)
- <https://access.redhat.com/security/cve/CVE-2026-20736> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2432205> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20736.json> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-20736> (advisory, web)
- <https://github.com/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30> (web)
- <https://blog.gitea.com/release-of-1.25.4> (web)
- <https://github.com/go-gitea/gitea> (package)
- <https://github.com/advisories/GHSA-hgr3-x44x-33hx> (advisory)

## Sources

- CVE List: [CVE-2026-20736](https://www.cve.org/CVERecord?id=CVE-2026-20736), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-hgr3-x44x-33hx](https://github.com/advisories/GHSA-hgr3-x44x-33hx), CC-BY-4.0, modified 2026-02-03
- Go Vulnerability Database: [GO-2026-4367](https://pkg.go.dev/vuln/GO-2026-4367), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2026-20736](https://nvd.nist.gov/vuln/detail/CVE-2026-20736), Public domain, modified 2026-07-15
- Bitnami Vulnerability Database: [BIT-GITEA-2026-20736](https://osv.dev/vulnerability/BIT-GITEA-2026-20736), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-20736 · Whole record: https://cve.day/CVE-2026-20736.json · Rebuilt by cve.day 2026-11-25T22:59:13.079Z
