CVE-2026-20912 json
Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure
published 2026-01-22 9 mo ago modified 2026-09-08 2 mo ago also BIT-gitea-2026-20912 , EUVD-2026-4263 , GHSA-4xx9-vc8v-87hv , GHSA-vfmv-f93v-37mw , GO-2026-4364
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/go-gitea/gitea 1.25.4
- bitnami gitea 1.25.4
- go code.gitea.io/gitea 1.25.4
- gitea gitea 1.25.4
- govulncheck-vulndb openSUSE Leap 15.6 0.0.20260205T172317-150000.1.146.1
suse advisories SUSE-SU-2026:0403-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
- github.com/go-gitea/gitea@fbea2c6 commit
- github.com/go-gitea/gitea#36320 pull request
- github.com/go-gitea/gitea#36355 pull request
- github.com/go-gitea/gitea/releases/tag/v1.25.4 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-20912 updated cvss 9.1
gitea: Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure
-
Red Hat OpenShift Pipelines openshift-pipelines/pipelines-opc-rhel9, openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8, openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9, openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8, openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9, openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8, +3 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 9 mo ago
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/go-gitea/gitea | <1.25.4 |
1.25.4 |
| bitnami | gitea | <1.25.4 |
1.25.4 |
| go | code.gitea.io/gitea | <1.25.4 |
1.25.4 |
Affected products
- Gitea Gitea Open Source Git Server
- Red Hat OpenShift Pipelines
Classification
References
-
github.com
/go-gitea/gitea/pull/36320
patch, web, issue-tracking
-
github.com
/go-gitea/gitea/pull/36355
patch, web, issue-tracking
-
github.com
/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30
web
-
github.com
/go-gitea/gitea/security/advisories/GHSA-vfmv-f93v-37mw
vendor-advisory, broken-link, web
-
github.com
/go-gitea/gitea/releases/tag/v1.25.4
release-notes, web, article
-
blog.gitea.com
/release-of-1.25.4/
release-notes, article
-
access.redhat.com
/security/cve/CVE-2026-20912
vdb-entry, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2432219
issue-tracking, web
-
security.access.redhat.com
/data/csaf/v2/vex/2026/cve-2026-20912.json
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-20912
advisory, web
-
blog.gitea.com
/release-of-1.25.4
web
-
github.com
/go-gitea/gitea
package
-
github.com
/advisories/GHSA-4xx9-vc8v-87hv
advisory
Sources
- CVE List CVE-2026-20912
- GitHub Advisory GHSA-4xx9-vc8v-87hv
- NVD CVE-2026-20912
- OSV BIT-gitea-2026-20912
- OSV GO-2026-4364
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.