CVE-2026-20912
Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure
- State
- Published
- Severity
- 9.1 Critical
- Published
- Jan 22, 2026
- Updated
- Jul 15, 2026
- Reserved
- Jan 8, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.1 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | CISA-ADP |
| 3.1 | 9.1 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
Gitea Open Source Git ServerGitea |
|
References
- GitHub Security Advisoryvendor-advisory
- GitHub Pull Request #36320patch
- GitHub Pull Request #36355patch
- Gitea v1.25.4 Releaserelease-notes
- Gitea v1.25.4 Release Blog Postrelease-notes
- https://access.redhat.com/security/cve/CVE-2026-20912vdb-entry
- RHBZ#2432219issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20912.json
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.