Original 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.
Affected software
- Gitea *< 1.25.4 Fixed in: 1.25.4 repository or package match
Details
- Published
- 2026-01-22
- Last modified
- 2026-07-15
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- CWE
- CWE-284, CWE-639, CWE-283
- EPSS (30-day exploit probability)
- 0.46% (percentile 40)
References
- cve.org/CVE-2026-20912
- nvd.nist.gov/vuln/detail/CVE-2026-20912
- blog.gitea.com/release-of-1.25.4/
- github.com/go-gitea/gitea/pull/36320
- github.com/go-gitea/gitea/pull/36355
- github.com/go-gitea/gitea/releases/tag/v1.25.4
- github.com/go-gitea/gitea/security/advisories/GHSA-vfmv-f93v-37mw
- access.redhat.com/security/cve/CVE-2026-20912
- bugzilla.redhat.com/show_bug.cgi?id=2432219
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20912.json
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.