CVE-2026-20904 Gitea: Broken access control in OpenID visibility toggle enables cross-user visibility changes
MediumCVSS 6.5
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
Description
Gitea does not properly validate ownership when toggling OpenID URI visibility. An authenticated user may be able to change the visibility settings of other users' OpenID identities.
Upgrade path
4 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| code.gitea.io/gitea(Go) | < 1.25.4 | 1.25.4 | Fixed |
| Gitea | < 1.25.4 | 1.25.4 | Fixed |
| Gitea Open Source Git Server | <= 1.25.3 | after 1.25.3 | Fixed |
| go-gitea github.com/go-gitea/gitea(Go) | < 1.25.4 | 1.25.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| go-gitea github.com/go-gitea/gitea(Go) | < 1.25.4 | 1.25.4 |
| code.gitea.io/gitea(Go) | < 1.25.4 | 1.25.4 |
| Gitea Open Source Git Server | <= 1.25.3 | No fix listed |
| Gitea | < 1.25.4 | 1.25.4 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- GitHub Pull Request #36346 issue-tracking patch
- GitHub Pull Request #36361 issue-tracking patch
- github.com patch
- Gitea v1.25.4 Release Blog Post release-notes
- github.com product
- Gitea v1.25.4 Release release-notes
- github.com vendor-advisory
- GitHub Security Advisory broken-link vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2432217 issue-tracking
- www.cve.org