Auth bypass in Gitea
CVE-2026-20912
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.005, 40.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Gitea
- Gitea Open Source Git Server — versions 0
Weakness classification (CWE)
References
- GitHub Security Advisory (vendor-advisory, Broken Link)
- GitHub Pull Request #36320 (Patch, patch, Issue Tracking)
- GitHub Pull Request #36355 (Patch, patch, Issue Tracking)
- Gitea v1.25.4 Release (release-notes, Release Notes)
- Gitea v1.25.4 Release Blog Post (release-notes, Release Notes)
- access.redhat.com/security/cve/CVE-2026-20912
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20912.json