CVE-2026-20912
published critical CVSS 3.1 · 9.1Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | Gitea Open Source Git Server0 through 1.25.3 · Other versions: unaffected | Affected | Not stated | Gitea |
| Red Hat | — | openshift-pipelines/pipelines-opc-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
Description
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.
An access control flaw has been discovered in Gitea. 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- redhat-SADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.1 | critical | CISA-ADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 through 1.25.3 (affected · semver)Default: unaffected | Gitea · cna |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
Weaknesses
3- CWE-284 CWE-284: Improper Access Control
- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
- CWE-283 Unverified Ownership
References
8- https://access.redhat.com/security/cve/CVE-2026-20912
- Gitea v1.25.4 Release Blog Post https://blog.gitea.com/release-of-1.25.4/
- RHBZ#2432219 https://bugzilla.redhat.com/show_bug.cgi?id=2432219
- GitHub Pull Request #36320 https://github.com/go-gitea/gitea/pull/36320
- GitHub Pull Request #36355 https://github.com/go-gitea/gitea/pull/36355
- Gitea v1.25.4 Release https://github.com/go-gitea/gitea/releases/tag/v1.25.4
- GitHub Security Advisory https://github.com/go-gitea/gitea/security/advisories/GHSA-vfmv-f93v-37mw
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20912.json
Provider assertions
3Gitea · cna
Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure
redhat-SADP · adp
gitea: Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ad8b5de835c0754e042f169ff78cdcf243a4e924968bfa3c156c997e240bda06
- Ingested
- 23 Sep 2026, 09:04:58 UTC
- Source record
- Official CVE record