# CVE-2026-20912: Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 05-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-01-22 · Modified: 2026-07-15
- Aliases: GHSA-4xx9-vc8v-87hv, BIT-gitea-2026-20912, GHSA-vfmv-f93v-37mw, GO-2026-4364
- Record: https://cvemate.com/vulnerability/CVE-2026-20912 · JSON: https://cvemate.com/vulnerability/CVE-2026-20912/json

## Description

```text
Gitea does not properly validate repository ownership when linking attachments to releases. An attachment uploaded to a private repository could potentially be linked to a release in a different public repository, making it accessible to unauthorized users.
```

## Signals

- CVSS: 9.1 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.455%, percentile 41.185%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea: \< 1.25.4
- gitea gitea open source git server: ≤ 1.25.3
- code.gitea.io gitea (Go): \< 1.25.4
- github.com/go-gitea gitea (Go): \< 1.25.4

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-vfmv-f93v-37mw>
- <https://github.com/go-gitea/gitea/pull/36320>
- <https://github.com/go-gitea/gitea/pull/36355>
- <https://github.com/go-gitea/gitea/releases/tag/v1.25.4>
- <https://blog.gitea.com/release-of-1.25.4/>
- <https://access.redhat.com/security/cve/CVE-2026-20912>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2432219>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20912.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-20912>
- <https://github.com/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30>
- <https://blog.gitea.com/release-of-1.25.4>
- <https://github.com/go-gitea/gitea>
- <https://github.com/advisories/GHSA-4xx9-vc8v-87hv>

---

Data as of 2026-12-05T14:58:47.744Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
