Vulnerability advisory
BIT-gitea-2026-20912
Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure
Also known as CVE-2026-20912GHSA-4xx9-vc8v-87hvGHSA-vfmv-f93v-37mwGO-2026-4364
Severity
Severity not reported.
Affected versions
gitea Bitnami
| Affected | Fixed in |
|---|---|
| All versions before 1.25.4 | 1.25.4 |
Severity for this package
| |
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.
References
- ARTICLEblog.gitea.com/release-of-1.25.4/ ↗
- Fixgithub.com/go-gitea/gitea/pull/36320 ↗
- Fixgithub.com/go-gitea/gitea/pull/36355 ↗
- ARTICLEgithub.com/go-gitea/gitea/releases/tag/v1.25.4 ↗
- Webgithub.com/go-gitea/gitea/security/advisories/GHSA-vfmv-f93v-37mw ↗
- Webnvd.nist.gov/vuln/detail/CVE-2026-20912 ↗
- Webaccess.redhat.com/security/cve/CVE-2026-20912 ↗
- Webbugzilla.redhat.com/show_bug.cgi?id=2432219 ↗
- Websecurity.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20912.json ↗